UNPKG

@huynhducduy/is-palindrome

Version:

Zero dependency, lightweight and fully functional palindrome checker

52 lines (51 loc) 1.9 kB
{ "name": "@huynhducduy/is-palindrome", "description": "Zero dependency, lightweight and fully functional palindrome checker", "version": "1.0.10", "version_short": "1.0", "keywords": [ "palindrome", "palindrome-checker", "palindrome-validator", "palindrome-string", "palindrome-number", "palindrome-date", "palindromes", "palind" ], "publishConfig": { "registry": "https://registry.npmjs.org" }, "homepage": "https://github.com/huynhducduy/is-palindrome#readme", "author": "Huynh Duc Duy (https://huynhducduy.me)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/huynhducduy/is-palindrome.git" }, "bugs": { "url": "https://github.com/huynhducduy/is-palindrome/issues" }, "devDependencies": { "@rollup/plugin-commonjs": "^15.1.0", "rollup": "^2.32.1", "rollup-plugin-terser": "^7.0.2", "yarn-run-all": "^3.1.1" }, "main": "dist/common.js", "browser": "dist/iife.js", "module": "dist/esm.js", "files": [ "dist/*.{js,map}" ], "scripts": { "test": "node ./test.js", "compile": "npm-run-all --parallel compile:*", "compile:iife": "rollup index.js --plugin commonjs,terser --name \"isPalindrome\" --file dist/iife.js --format iife --compact", "compile:cjs": "rollup index.js --plugin commonjs,terser --name \"isPalindrome\" --file dist/common.js --format cjs --exports default --compact", "compile:esm": "rollup index.js --plugin commonjs,terser --file dist/esm.js --format esm --compact", "compile:amd": "rollup index.js --plugin commonjs,terser --file dist/amd.js --format amd --compact", "compile:umd": "rollup index.js --plugin commonjs,terser --name \"isPalindrome\" --file dist/umd.js --format umd --compact", "compile:sys": "rollup index.js --plugin commonjs,terser --file dist/sys.js --format system --compact" } }