normalize-text
Version:
Provides a simple API to normalize texts, white-spaces, paragraphs & diacritics.
78 lines (77 loc) • 2.11 kB
JSON
{
"name": "normalize-text",
"version": "2.6.0",
"description": "Provides a simple API to normalize texts, white-spaces, paragraphs & diacritics.",
"sideEffects": false,
"cdn": "dist/index.umd.min.js",
"main": "dist/index.js",
"types": "types/index.d.ts",
"unpkg": "dist/index.umd.min.js",
"module": "dist/index.esm.js",
"jsdelivr": "dist/index.umd.min.js",
"umd:main": "dist/index.umd.js",
"exports": {
".": [
{
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.js",
"types": "./types/index.d.ts"
},
"./dist/index.js"
]
},
"scripts": {
"test": "npm run test:lint && npm run test:transpile && npm run test:unit",
"test:transpile": "tsc --project ./tsconfig.test.json",
"test:unit": "jest \"(.+)\\.spec\\.js$\"",
"test:lint": "prettier src/**/*.ts --check",
"build": "npm run build:transpile && npm run build:bundle",
"build:transpile": "tsc --project ./tsconfig.build.json",
"build:bundle": "rollup --config rollup.config.mjs",
"prepublishOnly": "npm run test && npm run build"
},
"files": [
"dist/",
"types/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/VitorLuizC/normalize-text.git"
},
"keywords": [
"normalize-text",
"normalize",
"diacritics",
"whitespaces",
"white-spaces",
"accents",
"text",
"string",
"fp",
"functional",
"functional-programming"
],
"author": {
"url": "https://vitorluizc.github.io/",
"name": "Vitor Luiz Cavalcanti",
"email": "vitorluizc@outlook.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/VitorLuizC/normalize-text/issues"
},
"homepage": "https://github.com/VitorLuizC/normalize-text#readme",
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.14",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"rollup": "^4.37.0",
"typescript": "^5.8.2"
},
"dependencies": {
"@bitty/pipe": "^0.3.0"
}
}