UNPKG

string-segmenter

Version:

Split a string in to sentences. Supports multiple languages.

43 lines (42 loc) 1.07 kB
{ "name": "string-segmenter", "version": "1.3.0", "description": "Split a string in to sentences. Supports multiple languages.", "repository": "github:sirlancelot/string-segmenter", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", "exports": { "require": { "default": "./dist/index.cjs", "types": "./dist/index.d.cts" }, "import": { "default": "./dist/index.mjs", "types": "./dist/index.d.mts" } }, "files": [ "dist" ], "scripts": { "build": "pkgroll --clean-dist --src lib --target=node18 --minify --sourcemap && cp -r lib/abbreviations dist", "dev": "glob -c \"node --import tsx --watch --test\" \"**/*.test.ts\"", "prepublishOnly": "npm run build", "test": "glob -c \"node --import tsx --test\" \"**/*.test.ts\"" }, "keywords": [ "nlp", "string-segmentation", "string", "text-manipulation" ], "author": "Matthew Pietz <sirlancelot@gmail.com>", "license": "ISC", "devDependencies": { "@types/node": "22.9.4", "glob": "11.0.0", "pkgroll": "2.5.1", "tsx": "4.19.2" } }