UNPKG

bcp47-helper

Version:

A lightweight TypeScript library for parsing, validating, and managing BCP 47 language tags in Node.js and browser environments.

58 lines 1.41 kB
{ "name": "bcp47-helper", "version": "1.0.0", "description": "A lightweight TypeScript library for parsing, validating, and managing BCP 47 language tags in Node.js and browser environments.", "main": "dist/bcp47-helper.js", "types": "dist/index.d.ts", "module": "dist/bcp47-helper.esm.js", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", "test": "jest", "prepublishOnly": "npm run build" }, "keywords": [ "bcp47", "language-tags", "i18n", "internationalization", "typescript", "javascript", "locale", "language-codes", "node", "browser" ], "author": "Aumit <aumit@example.com> (https://github.com/aumit)", "license": "MIT", "homepage": "https://github.com/aumit/BCP-47-Helper", "repository": { "type": "git", "url": "git+https://github.com/aumit/BCP-47-Helper.git" }, "bugs": { "url": "https://github.com/aumit/BCP-47-Helper/issues" }, "dependencies": { "tslib": "^2.8.0" }, "devDependencies": { "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-typescript": "^12.1.2", "npm-run-all": "^4.1.5", "rollup": "^2.79.2", "rollup-plugin-terser": "^7.0.2", "typescript": "^5.8.3", "jest": "^29.7.0", "@types/jest": "^29.5.12", "ts-jest": "^29.2.5" }, "engines": { "node": ">=14.0.0" }, "files": [ "dist", "README.md", "LICENSE" ] }