UNPKG

infinity-map

Version:

A Map that doesn't throw if you put more than 16 million items in it. Because that's what the native `Map` object does for some reason.

36 lines (35 loc) 1.43 kB
{ "name": "infinity-map", "repository": "github:fabiospampinato/infinity-map", "description": "A Map that doesn't throw if you put more than 16 million items in it. Because that's what the native `Map` object does for some reason.", "license": "MIT", "version": "2.0.1", "type": "module", "main": "dist/index.js", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "clean": "tsex clean", "compile": "tsex compile", "compile:watch": "tsex compile --watch", "test:native": "node ./test/native/index.js", "test:test262:init": "git clone https://github.com/tc39/test262.git ./test/test262", "test:test262:prelude": "{ echo 'var module = {}, exports = {};' && esbuild dist/index.js --bundle --format=cjs --target=es2016 } > ./test/test262/prelude.js", "test:test262:execute": "test262-harness -t 8 --prelude ./test/test262/prelude.js ./test/test262/test/built-ins/Map/*.js ./test/test262/test/built-ins/MapIteratorPrototype/*.js", "test:test262": "npm run test:test262:prelude && npm run test:test262:execute", "test": "npm run test:native && npm run test:test262", "prepublishOnly": "npm run clean && npm run compile && npm run test" }, "keywords": [ "map", "infinite", "infinity", "limitless" ], "devDependencies": { "fava": "^0.3.4", "test262-harness": "^10.0.0", "tsex": "^4.0.2", "typescript": "^5.7.3" } }