{"versions":{"1.5.1":{"name":"ensure-type","version":"1.5.1","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"36395a5e4e111beb1717ab6d80b1935e8660d728","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.5.1","_nodeVersion":"12.19.0","_npmVersion":"7.15.0","dist":{"shasum":"e65ec8d4c6ee6f35b43675d4243258cb4c8f6159","size":3421,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.5.1.tgz","integrity":"sha512-Dxe+mVF4MupV6eueWiFa6hUd9OL9lIM2/LqR40k1P+dwG+G2il2UigXTU9aQlaw+Y/N0BKSaTofNw73htTbC5g=="},"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.5.1_1622362512518_0.3278978014766112"},"_hasShrinkwrap":false,"publish_time":1622362512637,"_cnpm_publish_time":1622362512637,"_cnpmcore_publish_time":"2021-12-17T10:31:20.983Z","contributors":[]},"1.5.0":{"name":"ensure-type","version":"1.5.0","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git@github.com:cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2020 Cheton Wu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ensure-type@1.5.0","dist":{"shasum":"c02aee97f849c9c2f5d047ce0781b16bdb5b894d","size":1892,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.5.0.tgz","integrity":"sha512-HwRJcTXi2eZ7ppGsK6VbRAw+WQ+AOyOsByS2WuHN08Sj+ZALmcQ+uxyQ4Ifk3Bcnj2kcecF2ze6FG9uL+LWJKw=="},"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.5.0_1622295327361_0.7658124651460436"},"_hasShrinkwrap":false,"publish_time":1622295327517,"deprecated":"This version has been deprecated.","_cnpm_publish_time":1622295327517,"_cnpmcore_publish_time":"2021-12-17T10:31:21.190Z","contributors":[]},"1.4.2":{"name":"ensure-type","version":"1.4.2","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"prepublish":"npm run build && npm test","build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"959e73e516221831bb44c4831805772a8e6783c8","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.4.2","_nodeVersion":"12.18.4","_npmVersion":"6.14.8","dist":{"shasum":"afc05b67a0eefa6f96f5a9b0c06b10feb50d9bdf","size":3387,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.4.2.tgz","integrity":"sha512-fcTItRH6zxqpuQvcwtrg8tM+UJCjKbLgR7lu+cQp5xrvtuORDudOBaX0M9T5dujJmxycIHlN/Xnmo/i5OkaGbw=="},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.4.2_1603336822962_0.009135684353559936"},"_hasShrinkwrap":false,"publish_time":1603336823116,"_cnpm_publish_time":1603336823116,"_cnpmcore_publish_time":"2021-12-17T10:31:21.405Z","contributors":[]},"1.4.1":{"name":"ensure-type","version":"1.4.1","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"prepublish":"npm run build && npm test","build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"31b8d8cc3e9bee965c5661faa83bcbe4cb4755e9","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.4.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.8","dist":{"shasum":"d63cc4065a85afc88328601550185fec2cdadb4d","size":3345,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.4.1.tgz","integrity":"sha512-cnksf3gle7sNHqbnnL5Avj2+X5FNnGOgSM315f/oMuKgS6WSLgSuuKI5rAJva8uSbynboM7sGHoPpmAWVN/sxA=="},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.4.1_1603334556726_0.15015294251327993"},"_hasShrinkwrap":false,"publish_time":1603334556876,"_cnpm_publish_time":1603334556876,"_cnpmcore_publish_time":"2021-12-17T10:31:21.600Z","contributors":[]},"1.4.0":{"name":"ensure-type","version":"1.4.0","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"prepublish":"npm run build && npm test","build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"bee59e372d54c0926e4f3a89ec0043cd0d2c26f8","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.4.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.8","dist":{"shasum":"ed21077a6a951dc8bd2017a97fce3e2e2ef53683","size":3260,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.4.0.tgz","integrity":"sha512-qv/gtYSb46676XZODSHUnZQd3/Xmmo7LxoMvTzjODOyFx6j6XgZLFsEW3mAwYKf+HnCmvdVCeI66E84i8NmNtA=="},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.4.0_1602918198136_0.3670955322518872"},"_hasShrinkwrap":false,"publish_time":1602918198243,"_cnpm_publish_time":1602918198243,"_cnpmcore_publish_time":"2021-12-17T10:31:21.827Z","contributors":[]},"1.3.0":{"name":"ensure-type","version":"1.3.0","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"prepublish":"npm run build && npm test","build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"c26fb0a8a07d1d44b511fa0fa394d64d8094815b","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.3.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.8","dist":{"shasum":"8ea5afc9641fe9ee20845389498e8a1ca656ae20","size":3142,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.3.0.tgz","integrity":"sha512-CvFD/052khJ/fFlJiSL+ru4uLAZ+zAfdXMcgTXWXw0iIc0LVEec4TaaBPHsEvZNKOtFteA7ChjAE152QH3m7/w=="},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.3.0_1602913975586_0.5236187391021645"},"_hasShrinkwrap":false,"publish_time":1602913975752,"_cnpm_publish_time":1602913975752,"_cnpmcore_publish_time":"2021-12-17T10:31:22.093Z","contributors":[]},"1.2.0":{"name":"ensure-type","version":"1.2.0","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"prepublish":"npm run build && npm test","build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"74d845fbff18748314c25e23f2fc075a17edfddf","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.2.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.8","dist":{"shasum":"8c302173d317ad10c190abd976ad43cf2c56f636","size":2981,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.2.0.tgz","integrity":"sha512-izb7HZ27MmE0HX2OoAVJau6h6BDY/mRl/MQaySPC8d48U9ggZrSbSwcl7CC7z8b2UasjRV4oegepoQP+KVl2ng=="},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.2.0_1602907285040_0.9911461497812473"},"_hasShrinkwrap":false,"publish_time":1602907285244,"_cnpm_publish_time":1602907285244,"_cnpmcore_publish_time":"2021-12-17T10:31:22.298Z","contributors":[]},"1.1.0":{"name":"ensure-type","version":"1.1.0","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"prepublish":"npm run build && npm test","build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"9e751074e65db0e9402a8c199370442e13311f10","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.1.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.8","dist":{"shasum":"32d79b07eb1f5edb3806a3e09963deafe95b99ee","size":2762,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.1.0.tgz","integrity":"sha512-POnjRwLBANZcv6NO38knZ2sH/+WN9oznnTyt6SEHKT2Aa6XHYdTGKVn5lnF+e+UZ7VnTBxREAbS3Lt62E6/f7A=="},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.1.0_1602815332444_0.8954668045022929"},"_hasShrinkwrap":false,"publish_time":1602815332666,"_cnpm_publish_time":1602815332666,"_cnpmcore_publish_time":"2021-12-17T10:31:22.515Z","contributors":[]},"1.0.1":{"name":"ensure-type","version":"1.0.1","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"prepublish":"npm run build && npm test","build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"fce2427bea1bfd0c7bf9fc7f35e3b2b41ba4e707","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.8","dist":{"shasum":"b076bebcbc5aa61ca0259b848a9efd35af57eef3","size":2556,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.0.1.tgz","integrity":"sha512-fbWkBecYYp0A4Wu3z3+EsohdNwTfZ2IJOgaHAKAm6DF9714yOA5xAakV9ARQdrap7wNbufx+VlypfD32NtLE1g=="},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.0.1_1602771965876_0.45420372677811205"},"_hasShrinkwrap":false,"publish_time":1602771965972,"_cnpm_publish_time":1602771965972,"_cnpmcore_publish_time":"2021-12-17T10:31:22.747Z","contributors":[]},"1.0.0":{"name":"ensure-type","version":"1.0.0","description":"Ensure runtime type safety and perform type coercion if needed.","homepage":"https://github.com/cheton/ensure-type","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"prepublish":"npm run build && npm test","build":"rollup --config rollup.config.js","clean":"del coverage dist yarn.lock","test":"jest","coveralls":"jest --coverage && cat coverage/lcov.info | coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/ensure-type.git"},"keywords":["javascript","ensure","runtime","type","coercion"],"devDependencies":{"@babel/preset-env":"^7.11.5","@rollup/plugin-node-resolve":"^9.0.0","@trendmicro/babel-config":"^1.0.0-alpha","coveralls":"^3.1.0","del-cli":"^3.0.1","jest":"^26.5.3","rollup":"^2.30.0","rollup-plugin-babel":"^4.4.0"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"collectCoverageFrom":["<rootDir>/src/**/*.js"],"coverageReporters":["lcov","text","html"]},"gitHead":"1400046c2eddb214e4681049b49405a451178b88","bugs":{"url":"https://github.com/cheton/ensure-type/issues"},"_id":"ensure-type@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.8","dist":{"shasum":"0e3225b992bca9a6e1c6396d291e2a567cf0d5a6","size":2822,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ensure-type/-/ensure-type-1.0.0.tgz","integrity":"sha512-YuQlG/d3m0V9qOdnilcMpuz5MOeRK3wyVMDh4J44jlNuNQXDBpM7WIls1s3rPIVwYPHNtuQdQ3xOATgp/cd+Xg=="},"maintainers":[{"name":"anonymous","email":"cheton@gmail.com"}],"_npmUser":{"name":"anonymous","email":"cheton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ensure-type_1.0.0_1602667572440_0.7473459559228122"},"_hasShrinkwrap":false,"publish_time":1602667572609,"_cnpm_publish_time":1602667572609,"_cnpmcore_publish_time":"2021-12-17T10:31:22.969Z","contributors":[]}},"dist-tags":{"latest":"1.5.1"},"name":"ensure-type","time":{"created":"2022-01-27T10:36:19.833Z","modified":"2023-06-30T07:15:24.484Z","1.5.1":"2021-05-30T08:15:12.637Z","1.5.0":"2021-05-29T13:35:27.517Z","1.4.2":"2020-10-22T03:20:23.116Z","1.4.1":"2020-10-22T02:42:36.876Z","1.4.0":"2020-10-17T07:03:18.243Z","1.3.0":"2020-10-17T05:52:55.752Z","1.2.0":"2020-10-17T04:01:25.244Z","1.1.0":"2020-10-16T02:28:52.666Z","1.0.1":"2020-10-15T14:26:05.972Z","1.0.0":"2020-10-14T09:26:12.609Z"},"readme":"# ensure-type [![Build Status](https://travis-ci.com/cheton/ensure-type.svg?branch=master)](https://travis-ci.com/cheton/ensure-type) [![Coverage Status](https://coveralls.io/repos/github/cheton/ensure-type/badge.svg?branch=master)](https://coveralls.io/github/cheton/ensure-type?branch=master)\n\n[![NPM](https://nodei.co/npm/ensure-type.png?downloads=true&stars=true)](https://www.npmjs.com/package/ensure-type)\n\nEnsure runtime type safety and perform type coercion if needed.\n\n## Install\n\n```\n$ npm install --save ensure-type\n```\n\n## Usage\n\n```js\nimport { ensureArray } from 'ensure-type';\n\nensureArray(null);\n//=> []\n\nensureArray('apple');\n//=> ['apple']\n\nensureArray(['apple', 'banana']);\n//=> ['apple', 'banana']\n```\n\n## API\n\n### Array\n- [`ensureArray`](docs/ensureArray.md)\n\n### BigInt\n- [`ensureBigInt`](docs/ensureBigInt.md)\n\n### Boolean\n- [`ensureBoolean`](docs/ensureBoolean.md)\n\n### Function\n- [`ensureFunction`](docs/ensureFunction.md)\n\n### Number\n- [`ensureNumber`](docs/ensureNumber.md)\n- [`ensureNegativeNumber`](docs/ensureNegativeNumber.md)\n- [`ensurePositiveNumber`](docs/ensurePositiveNumber.md)\n- [`ensureFiniteNumber`](docs/ensureFiniteNumber.md)\n- [`ensureNegativeFiniteNumber`](docs/ensureNegativeFiniteNumber.md)\n- [`ensurePositiveFiniteNumber`](docs/ensurePositiveFiniteNumber.md)\n- [`ensureInteger`](docs/ensureInteger.md)\n- [`ensureNegativeInteger`](docs/ensureNegativeInteger.md)\n- [`ensurePositiveInteger`](docs/ensurePositiveInteger.md)\n- [`ensureNonNegativeInteger`](docs/ensureNonNegativeInteger.md)\n- [`ensureNonPositiveInteger`](docs/ensureNonPositiveInteger.md)\n\n### Object\n- [`ensurePlainObject`](docs/ensurePlainObject.md)\n\n### String\n- [`ensureString`](docs/ensureString.md)\n\n## License\n\nMIT","users":{}}