nmask
Version:
A lightweight and flexible number input masking library with zero dependencies. Supports vanilla JS, jQuery, React, Vue, Next.js, and any modern framework. Perfect for currency, percentage, and numeric formatting.
48 lines (47 loc) • 1.26 kB
JSON
{
"name": "nmask",
"version": "1.5.0",
"description": "A lightweight and flexible number input masking library with zero dependencies. Supports vanilla JS, jQuery, React, Vue, Next.js, and any modern framework. Perfect for currency, percentage, and numeric formatting.",
"main": "dist/nmask.js",
"module": "dist/nmask.esm.js",
"browser": "dist/nmask.vanilla.js",
"exports": {
".": {
"import": "./dist/nmask.esm.js",
"require": "./dist/nmask.js",
"browser": "./dist/nmask.vanilla.js"
},
"./vanilla": "./dist/nmask.vanilla.js",
"./esm": "./dist/nmask.esm.js",
"./jquery": "./dist/nmask.js"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"keywords": [
"mask",
"number",
"jquery",
"formatter",
"input",
"currency",
"numeric",
"format",
"separator",
"decimal",
"percentage"
],
"author": "Riyan",
"license": "MIT",
"optionalPeerDependencies": {
"jquery": ">=3.0.0"
},
"homepage": "https://github.com/riyansetiyadi/nmask",
"bugs": "https://github.com/riyansetiyadi/nmask/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/riyansetiyadi/nmask.git"
}
}