{"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"},"readme":"# to-fast-properties [![Build Status](https://travis-ci.org/sindresorhus/to-fast-properties.svg?branch=master)](https://travis-ci.org/sindresorhus/to-fast-properties)\n\n> Force V8 to use fast properties for an object\n\n[Read more.](http://stackoverflow.com/questions/24987896/)\n\nUse `%HasFastProperties(object)` and `--allow-natives-syntax` to check whether an object already has fast properties.\n\n\n## Install\n\n```\n$ npm install --save to-fast-properties\n```\n\n\n## Usage\n\n```js\nvar toFastProperties = require('to-fast-properties');\n\nvar obj = {\n\tfoo: true,\n\tbar: true\n};\n\ndelete foo;\n// `obj` now has slow properties\n\ntoFastProperties(obj);\n// `obj` now has fast properties\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","readmeFilename":"readme.md","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":"https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.1.tgz","_resolved":"https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.1.tgz"}