UNPKG

idna-uts46-hx

Version:

Convert Domain Names correctly from IDN to Punycode and vice-versa and offer TR46 processing.

75 lines (74 loc) 2.25 kB
{ "name": "idna-uts46-hx", "description": "Convert Domain Names correctly from IDN to Punycode and vice-versa and offer TR46 processing.", "version": "6.1.7", "private": false, "type": "module", "main": "dist/index.mjs", "typings": "dist/index.d.ts", "files": [ "dist/", "src/" ], "license": "MIT", "sideEffects": false, "engines": { "node": "^22.14.0 || >= 24.10.0" }, "homepage": "https://github.com/centralnicgroup-opensource/rtldev-middleware-idna-uts46", "repository": "github:centralnicgroup-opensource/rtldev-middleware-idna-uts46", "bugs": "https://github.com/centralnicgroup-opensource/rtldev-middleware-idna-uts46/issues", "keywords": [ "unicode", "idn", "idna", "domain", "convert", "converter" ], "scripts": { "prettier": "prettier -u --write \"**/*\"", "build": "rollup -c rollup-esm.config.mjs", "pretest": "pnpm run prepare", "test": "mocha", "test:coverage": "c8 --reporter=html mocha", "posttest:coverage": "vite --config vite.config.coverage.js", "preserve": "pnpm run prepare; cp node_modules/mocha/mocha.css dist/index.bundle.js dist/index.mjs test", "serve": "vite", "lint": "eslint .", "prepare": "pnpm run build && npx lint-staged" }, "dependencies": { "tr46": "^6.0.0" }, "devDependencies": { "@eslint/js": "^10.0.1", "@rollup/plugin-commonjs": "^29.0.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^1.0.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/exec": "^7.1.0", "@semantic-release/git": "^10.0.1", "c8": "^11.0.0", "eslint": "^10.0.2", "globals": "^17.4.0", "lint-staged": "^16.3.2", "mocha": "^11.7.5", "prettier": "^3.8.1", "rollup": "^4.59.0", "rollup-plugin-bundle-size": "^1.0.3", "semantic-release": "^25.0.3", "semantic-release-teams-notify-plugin": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-notify-plugin", "terser": "^5.46.0", "vite": "^7.3.1" }, "lint-staged": { "*": "prettier -u --write" }, "prettier": { "trailingComma": "all", "tabWidth": 2, "singleQuote": true } }