Add notes

This commit is contained in:
Astrian Zheng 2024-04-18 10:21:07 +10:00
parent db7c6e0a08
commit 8e7799266d
Signed by: Astrian
SSH Key Fingerprint: SHA256:rVnhx3DAKjujCwWE13aDl7uV6+9U1MvydLkNRXJrBiA
4 changed files with 21 additions and 10 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "arsene",
"version": "1.0.0",
"version": "1.1.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "arsene",
"version": "1.0.0",
"version": "1.1.2",
"license": "MIT",
"devDependencies": {
"typescript": "^5.4.5"

View File

@ -1,6 +1,6 @@
{
"name": "arsene",
"version": "1.1.2",
"version": "1.1.3",
"description": "Arsene is a library for processing CJK text paragraphs, which are mixed with English characters and adding spacing between them.",
"author": "Astrian Zheng",
"keywords": [
@ -17,12 +17,14 @@
"devDependencies": {
"typescript": "^5.4.5"
},
"repositories": [{
"repositories": [
{
"type": "git",
"url": "https://git.nas.astrian.moe/Astrian/arsene.git"
},
{
"type": "git",
"url": "https://github.com/Astrian/arsene.git"
}]
},
{
"type": "git",
"url": "https://github.com/Astrian/arsene.git"
}
]
}

8
src/index.d.ts vendored
View File

@ -0,0 +1,8 @@
/**
* @description 使 Arsene /
* @param selectedNode CSS `.class``#id``tag` 使使 `body`
* @param spacing `2xl``xl``l``m``s` `s`
* @example arsene('body')
* @example arsene('.post-content', 'm')
*/
export default function (selectedNode: string, spacing?: '2xl' | 'xl' | 'l' | 'm' | 's'): void

View File

@ -4,7 +4,8 @@
"module": "es6",
"declaration": true,
"outDir": "./dist",
"strict": true
"strict": true,
"removeComments": false
},
"include": ["src"],
"exclude": ["node_modules", "dist"]