{"_id":"to-fast-properties","_rev":"496407","name":"to-fast-properties","description":"Force V8 to use fast properties for an object","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-08-08T10:35:45.000Z","created":"2015-03-04T13:00:43.942Z","4.0.0":"2021-08-08T10:33:03.897Z","3.0.1":"2020-02-01T09:45:01.573Z","3.0.0":"2019-11-13T04:54:06.015Z","2.0.0":"2017-06-09T14:01:59.999Z","1.0.3":"2017-04-30T08:05:46.381Z","1.0.2":"2016-03-20T17:18:04.670Z","1.0.1":"2015-03-06T06:39:26.820Z","1.0.0":"2015-03-04T13:00:43.942Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https:/sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/to-fast-properties.git"},"versions":{"4.0.0":{"name":"to-fast-properties","version":"4.0.0","description":"Force V8 to use fast properties for an object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/to-fast-properties.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https:/sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12.20"},"scripts":{"test":"node --allow-natives-syntax test.js && tsd"},"keywords":["object","properties","props","v8","optimize","fast","convert","mode"],"devDependencies":{"ava":"0.0.4","tsd":"^0.10.0"},"gitHead":"bec19f4a16261c906a2bc1e87bb8ce64cf77d381","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"homepage":"https://github.com/sindresorhus/to-fast-properties#readme","_id":"to-fast-properties@4.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"43dc36ce460f10070d35f48228253c370e5c161b","size":2018,"noattachment":false,"key":"/to-fast-properties/-/to-fast-properties-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-fast-properties/download/to-fast-properties-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to-fast-properties_4.0.0_1628418783705_0.43841895718089163"},"_hasShrinkwrap":false,"publish_time":1628418783897,"_cnpm_publish_time":1628418783897},"3.0.1":{"name":"to-fast-properties","version":"3.0.1","description":"Force V8 to use fast properties for an object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/to-fast-properties.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"node --allow-natives-syntax test.js && tsd"},"keywords":["object","properties","props","v8","optimize","fast","convert","mode"],"devDependencies":{"ava":"0.0.4","tsd":"^0.10.0"},"gitHead":"0bf7f28526345346de3e0be1b2b8b3c03891c04f","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"homepage":"https://github.com/sindresorhus/to-fast-properties#readme","_id":"to-fast-properties@3.0.1","_nodeVersion":"13.1.0","_npmVersion":"6.13.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c7d507fdccc306c1e6782069db6b0e6fcc1a93f5","size":2085,"noattachment":false,"key":"/to-fast-properties/-/to-fast-properties-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-fast-properties/download/to-fast-properties-3.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to-fast-properties_3.0.1_1580550301435_0.8370674492254075"},"_hasShrinkwrap":false,"publish_time":1580550301573,"_cnpm_publish_time":1580550301573},"3.0.0":{"name":"to-fast-properties","version":"3.0.0","description":"Force V8 to use fast properties for an object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/to-fast-properties.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"node --allow-natives-syntax test.js && tsd"},"keywords":["object","properties","props","v8","optimize","fast","convert","mode"],"devDependencies":{"ava":"0.0.4","tsd":"^0.10.0"},"gitHead":"4a20e3b17f021f7354ecfccb14da2b1da70571e7","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"homepage":"https://github.com/sindresorhus/to-fast-properties#readme","_id":"to-fast-properties@3.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3c9de7c156e0d191aaf8e858d0efb232870ebb9b","size":2260,"noattachment":false,"key":"/to-fast-properties/-/to-fast-properties-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-fast-properties/download/to-fast-properties-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to-fast-properties_3.0.0_1573620845876_0.5220023742444293"},"_hasShrinkwrap":false,"publish_time":1573620846015,"_cnpm_publish_time":1573620846015},"2.0.0":{"name":"to-fast-properties","version":"2.0.0","description":"Force V8 to use fast properties for an object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/to-fast-properties.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"node --allow-natives-syntax test.js"},"files":["index.js"],"keywords":["object","obj","properties","props","v8","optimize","fast","convert","mode"],"devDependencies":{"ava":"0.0.4"},"gitHead":"5b2ddf09843cacf5e9c2f9403155ef5a742edd83","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"homepage":"https://github.com/sindresorhus/to-fast-properties#readme","_id":"to-fast-properties@2.0.0","_shasum":"dc5e698cbd079265bc73e0377681a4e4e83f616e","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dc5e698cbd079265bc73e0377681a4e4e83f616e","size":1907,"noattachment":false,"key":"/to-fast-properties/-/to-fast-properties-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-fast-properties/download/to-fast-properties-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to-fast-properties-2.0.0.tgz_1497016919085_0.9319633266422898"},"directories":{},"publish_time":1497016919999,"_cnpm_publish_time":1497016919999,"_hasShrinkwrap":false},"1.0.3":{"name":"to-fast-properties","version":"1.0.3","description":"Force V8 to use fast properties for an object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/to-fast-properties.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node --allow-natives-syntax test.js"},"files":["index.js"],"keywords":["object","obj","properties","props","v8","optimize","fast","convert","mode"],"devDependencies":{"ava":"0.0.4"},"gitHead":"76e30a0b6040781a705cb351fb2e4a1d879f1adb","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"homepage":"https://github.com/sindresorhus/to-fast-properties#readme","_id":"to-fast-properties@1.0.3","_shasum":"b83571fa4d8c25b82e231b06e3a3055de4ca1a47","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b83571fa4d8c25b82e231b06e3a3055de4ca1a47","size":1647,"noattachment":false,"key":"/to-fast-properties/-/to-fast-properties-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-fast-properties/download/to-fast-properties-1.0.3.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/to-fast-properties-1.0.3.tgz_1493539544656_0.5382057083770633"},"directories":{},"publish_time":1493539546381,"_cnpm_publish_time":1493539546381,"_hasShrinkwrap":false},"1.0.2":{"name":"to-fast-properties","version":"1.0.2","description":"Force V8 to use fast properties for an object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/to-fast-properties.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node --allow-natives-syntax test.js"},"files":["index.js"],"keywords":["object","obj","properties","props","v8","optimize","fast","convert","mode"],"devDependencies":{"ava":"0.0.4"},"gitHead":"f65cab875234f8a9ee9b28df5d4db5c4a92fd0d9","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"homepage":"https://github.com/sindresorhus/to-fast-properties#readme","_id":"to-fast-properties@1.0.2","_shasum":"f3f5c0c3ba7299a7ef99427e44633257ade43320","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f3f5c0c3ba7299a7ef99427e44633257ade43320","size":1558,"noattachment":false,"key":"/to-fast-properties/-/to-fast-properties-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-fast-properties/download/to-fast-properties-1.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/to-fast-properties-1.0.2.tgz_1458494284238_0.9049524136353284"},"directories":{},"publish_time":1458494284670,"_cnpm_publish_time":1458494284670,"_hasShrinkwrap":false},"1.0.1":{"name":"to-fast-properties","version":"1.0.1","description":"Force V8 to use fast properties for an object","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/to-fast-properties"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node --allow-natives-syntax test.js"},"files":["index.js"],"keywords":["object","obj","properties","props","v8","optimize","fast","convert","mode"],"devDependencies":{"ava":"0.0.4"},"gitHead":"67e3b8857c3b000bd4f3cdbb3c0e8b2550994a02","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"homepage":"https://github.com/sindresorhus/to-fast-properties","_id":"to-fast-properties@1.0.1","_shasum":"4a41554d2b2f4bbe2d794060dc47396b10bb48a8","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"4a41554d2b2f4bbe2d794060dc47396b10bb48a8","size":1573,"noattachment":false,"key":"/to-fast-properties/-/to-fast-properties-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-fast-properties/download/to-fast-properties-1.0.1.tgz"},"directories":{},"publish_time":1425623966820,"_cnpm_publish_time":1425623966820,"_hasShrinkwrap":false},"1.0.0":{"name":"to-fast-properties","version":"1.0.0","description":"Force V8 to use fast properties for an object","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/to-fast-properties"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node --allow-natives-syntax test.js"},"files":["index.js"],"keywords":["object","obj","properties","props","v8","optimize","fast","convert","mode"],"devDependencies":{"ava":"0.0.4"},"gitHead":"d7935a0aa523451f826c1a1245c68722f466bce9","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"homepage":"https://github.com/sindresorhus/to-fast-properties","_id":"to-fast-properties@1.0.0","_shasum":"4e944cc07ec1e263c27a46b3bd339716d8ed500a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"4e944cc07ec1e263c27a46b3bd339716d8ed500a","size":1539,"noattachment":false,"key":"/to-fast-properties/-/to-fast-properties-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-fast-properties/download/to-fast-properties-1.0.0.tgz"},"directories":{},"publish_time":1425474043942,"_cnpm_publish_time":1425474043942,"_hasShrinkwrap":false}},"readme":"# to-fast-properties\n\n> Force V8 to use fast properties for an object\n\n[Read more.](https://stackoverflow.com/questions/24987896/)\n\nUse `%HasFastProperties(object)` and `--allow-natives-syntax` to check whether an object already has fast properties.\n\n## Install\n\n```\n$ npm install to-fast-properties\n```\n\n## Usage\n\n```js\nimport toFastProperties from 'to-fast-properties';\n\nconst object = {\n\tfoo: true,\n\tbar: true\n};\n\ndelete object.foo;\n// `object` now has slow properties\n\ntoFastProperties(object);\n// `object` now has fast properties\n```\n","_attachments":{},"homepage":"https://github.com/sindresorhus/to-fast-properties#readme","bugs":{"url":"https://github.com/sindresorhus/to-fast-properties/issues"},"license":"MIT"}