UNPKG

@azizbecha/strkit

Version:

strkit is a utility library offering a collection of essential string functions including validation, case conversion, truncation, and more. Ideal for both JavaScript and TypeScript developers to simplify string operations in their applications.

116 lines (115 loc) 3.29 kB
{ "name": "@azizbecha/strkit", "version": "1.1.1", "main": "dist/cjs/index.js", "module": "dist/es/index.js", "types": "dist/types/index.d.ts", "browser": "dist/umd/strkit.min.js", "scripts": { "lint": "npx eslint . --ext .js,.ts --fix --ignore-pattern dist/", "generate-index": "node generate-index.js", "build:cjs": "tsc --module commonjs --outDir dist/cjs", "build:es": "tsc --module esnext --outDir dist/es", "build:umd": "tsc --module umd --outDir dist/umd && rollup dist/umd/index.js --file dist/umd/strkit.min.js --format umd --name strkit --plugin @rollup/plugin-terser", "build": "npm run lint && npm run generate-index && npm run build:cjs && npm run build:es && npm run build:umd", "generate-barrels": "barrelsby --directory src/lib --delete", "test": "echo \"Error: no test specified\" && exit 1" }, "exports": { ".": { "import": "./dist/es/index.js", "require": "./dist/cjs/index.js", "default": "./dist/es/index.js" }, "./*": "./es/lib/*.js" }, "repository": { "type": "git", "url": "git+https://github.com/azizbecha/strkit.git" }, "files": [ "dist", "dist/cjs", "dist/es", "dist/umd", "dist/types", "LICENSE", "README.md" ], "husky": { "hooks": { "pre-commit": "npm run lint && npm run build", "post-commit": "git push origin HEAD" } }, "keywords": [ "string", "utilities", "string-operations", "string-functions", "validation", "string-manipulation", "email-validation", "url-validation", "case-conversion", "truncate", "capitalize", "remove-spaces", "reverse", "text", "regex", "string-utils", "npm-package", "typescript", "javascript", "web-development", "text-processing", "string-parsing", "string-formatting", "string-modification", "string-helper", "text-validation", "html-string-manipulation", "string-matcher", "case-formatting", "string-conversion", "string-trimming", "string-sanitization", "string-cleanup", "js-utils", "frontend-utils", "backend-utils", "nodejs-utilities", "string-normalization", "js-text-functions", "typescript-utility", "web-utility", "regular-expression", "email-format", "url-parser", "string-helper-functions", "reusable-functions", "clean-text", "string-magic" ], "author": "Aziz Becha", "license": "MIT", "bugs": { "url": "https://github.com/azizbecha/strkit/issues" }, "homepage": "https://github.com/azizbecha/strkit#readme", "description": "strkit is a utility library offering a collection of essential string functions including validation, case conversion, truncation, and more. Ideal for both JavaScript and TypeScript developers to simplify string operations in their applications.", "devDependencies": { "@rollup/plugin-terser": "^0.4.0", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "barrelsby": "^2.8.1", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "globals": "^16.0.0", "husky": "^8.0.0", "prettier": "^3.5.3", "rollup": "^3.0.0", "typescript": "^5.7.3" } }