{"_id":"refinable","_rev":"6-4a003763af6cdc5f6f29710998d5c634","name":"refinable","description":"Better primitives for prototype-based OO.","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"refinable","version":"1.0.0","author":{"name":"Quildreen Motta","email":"queen@robotlolita.me"},"description":"Better primitives for prototype-based OO.","repository":{"type":"git","url":"git+https://github.com/origamitower/refinable.git"},"bugs":{"url":"https://github.com/origamitower/refinable/issues"},"scripts":{"test":"make lint && make test"},"main":"./lib/index.js","keywords":["object-orientation","oop","prototypes"],"licence":"MIT","devDependencies":{"babel-cli":"^6.7.7","babel-eslint":"^6.0.4","babel-plugin-transform-metamagical-comments":"^0.3.1","babel-preset-es2015":"^6.6.0","eslint":"^2.9.0","eslint-config-origamitower":"^1.0.0","mocha":"^2.4.5"},"gitHead":"d460c865518eff6722a33cca021daa5c5395c09c","homepage":"https://github.com/origamitower/refinable#readme","_id":"refinable@1.0.0","_shasum":"88f62a267f2ed3db4555b8e8fd78bfe470904dba","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"robotlolita","email":"quildreen@gmail.com"},"dist":{"shasum":"88f62a267f2ed3db4555b8e8fd78bfe470904dba","tarball":"https://registry.npmjs.org/refinable/-/refinable-1.0.0.tgz","integrity":"sha512-rOO46flkzgn9ahrhJHeGYExKszwjcrGKUTF+2uj488i4Yjas7DU6P5ZXXfYBN/4G3Etdh3/qSgOJSxn2IX7ykA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZ+myfYdMC0mR/rq6X3xyfPCb3UbQxONOjJ5Y/aEFF5AiEA2mfBYQb7y019h9kw4Sxwlnw4jc2+ndfWP88IQoxvUUo="}]},"maintainers":[{"name":"robotlolita","email":"quildreen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/refinable-1.0.0.tgz_1462070434797_0.33305386546999216"},"directories":{},"deprecated":"This package is no longer supported."},"1.0.1":{"name":"refinable","version":"1.0.1","author":{"name":"Quildreen Motta","email":"queen@robotlolita.me"},"description":"Better primitives for prototype-based OO.","repository":{"type":"git","url":"git+https://github.com/origamitower/refinable.git"},"bugs":{"url":"https://github.com/origamitower/refinable/issues"},"scripts":{"test":"make lint && make test"},"main":"./lib/index.js","keywords":["object-orientation","oop","prototypes"],"license":"MIT","devDependencies":{"babel-cli":"^6.7.7","babel-eslint":"^6.0.4","babel-plugin-transform-metamagical-comments":"^0.3.1","babel-preset-es2015":"^6.6.0","eslint":"^2.9.0","eslint-config-origamitower":"^1.0.0","mocha":"^2.4.5"},"gitHead":"9f75a9a298b929dbe5235f6a84a7d135b6cefd2a","homepage":"https://github.com/origamitower/refinable#readme","_id":"refinable@1.0.1","_shasum":"47be8e8c1c1444ab8b6813bcb0ae6534dbd9731b","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"robotlolita","email":"quildreen@gmail.com"},"dist":{"shasum":"47be8e8c1c1444ab8b6813bcb0ae6534dbd9731b","tarball":"https://registry.npmjs.org/refinable/-/refinable-1.0.1.tgz","integrity":"sha512-HQcUBThNyXO86NdGcvaOhheybTCu7HDTxdLMg6E6C6YzlZQvm4TMAmdA9Pm8NEwW5iiQ8SDF24PVeC8INVfPxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaymgX5evjnRDoEeurd4cz47+NwEexIQrLTPPCrhgYeQIgSyxaJbowRZCIx5OS9TiCKRxK+qvp2gnjDaQzyNBbHA4="}]},"maintainers":[{"name":"robotlolita","email":"quildreen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/refinable-1.0.1.tgz_1462070931863_0.6328669164795429"},"directories":{},"deprecated":"This package is no longer supported."},"1.0.2":{"name":"refinable","version":"1.0.2","author":{"name":"Quildreen Motta","email":"queen@robotlolita.me"},"description":"Better primitives for prototype-based OO.","repository":{"type":"git","url":"git+https://github.com/origamitower/refinable.git"},"bugs":{"url":"https://github.com/origamitower/refinable/issues"},"scripts":{"test":"make lint && make test"},"main":"./lib/index.js","keywords":["object-orientation","oop","prototypes"],"license":"MIT","devDependencies":{"babel-cli":"^6.7.7","babel-eslint":"^6.0.4","babel-plugin-transform-assertion-comments":"^0.2.2","babel-plugin-transform-metamagical-comments":"^0.9.4","babel-preset-es2015":"^6.6.0","eslint":"^2.9.0","eslint-config-origamitower":"^1.0.0","metamagical-interface":"^3.1.0","metamagical-mkdocs":"^0.1.1","metamagical-mocha-bridge":"^0.2.1","metamagical-static-tree":"^0.1.2","mocha":"^2.4.5"},"gitHead":"df5b48caf5b82fa7411385193d9109e22af0ce86","homepage":"https://github.com/origamitower/refinable#readme","_id":"refinable@1.0.2","_shasum":"662ada05bc3baf342109f49941e8359b54628329","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"robotlolita","email":"quildreen@gmail.com"},"dist":{"shasum":"662ada05bc3baf342109f49941e8359b54628329","tarball":"https://registry.npmjs.org/refinable/-/refinable-1.0.2.tgz","integrity":"sha512-RXlXO1EDqwl51NO+7rJbRVxU+2QKQwBZCxxvlSSTs34ajgbVK4IJGoOAbwGnp3Jze+dGsRYpS/DxGv9ktqAUOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFw0JhyPp3P7B8KipqtfNffaP7M1096vMwAwsFQ8pfQKAiBTefRdQxaTWze//rIG8sOzAf1HLO/j6FSN5QMu5o8A+Q=="}]},"maintainers":[{"name":"robotlolita","email":"quildreen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/refinable-1.0.2.tgz_1463447192618_0.18669449933804572"},"directories":{},"deprecated":"This package is no longer supported."}},"readme":"Refinable\n=========\n\n[![Chat on Gitter](https://img.shields.io/gitter/room/origamitower/discussion.svg?style=flat-square)](https://gitter.im/origamitower/discussion)[![Build status](https://img.shields.io/travis/origamitower/refinable/master.svg?style=flat-square)](https://travis-ci.org/origamitower/refinable)[![NPM version](https://img.shields.io/npm/v/refinable.svg?style=flat-square)](https://npmjs.org/package/refinable)[![Dependencies status](https://img.shields.io/david/origamitower/refinable.svg?style=flat-square)](https://david-dm.org/origamitower/refinable)![Licence](https://img.shields.io/npm/l/refinable.svg?style=flat-square&label=licence)![Stability: Stable](https://img.shields.io/badge/stability-stable-green.svg?style=flat-square)\n\nA better primitive for prototype-based OO.\n\n\n## Example\n\n```js\nconst Refinable = require('refinable');\n\nconst Point2d = Refinable.refine({\n  x: 0,\n  y: 0,\n  toString() {\n    return this.x + ', ' + this.y\n  }\n});\n\nconst p1 = Point2d.refine({ x: 10, y: 10 });\nconst p2 = p1.refine({ y: 20 });\n\np1.toString()\n// => 10, 10\np2.toString()\n// => 10, 20\n```\n\n## Installation\n\nThe officially supported way of getting Refinable is through [npm][]:\n\n    $ npm install refinable\n\n> **NOTE**\n>\n> If you don't have npm, you'll need to install [Node.js][] in your\n> system before installing Refinable.\n\nA tool like [Browserify][] or [Webpack][] can be used to run Refinable in\nplatforms that don't implement Node-style modules, like the Browser.\n\n[Node.js]: https://nodejs.org/\n[npm]: https://www.npmjs.com\n[Browserify]: http://browserify.org/\n[Webpack]: https://webpack.github.io/\n\n\n## Supported platforms\n\nRefinable is supported in all platforms that support ECMAScript 5.\n\n\n> **NOTE**  \n> For platforms that don't support ECMAScript 5, (like IE8 and 9) the\n> [es5-shim][] library can be used to provide the additional runtime\n> support.\n\n[es5-shim]: https://github.com/es-shims/es5-shim\n\n\n## Support\n\nIf you think you've found a bug in the project, or want to voice your\nfrustration about using it (maybe the documentation isn't clear enough? Maybe\nit takes too much effort to use?), feel free to open a new issue in the\n[Github issue tracker](https://github.com/origamitower/refinable/issues).\n\nPull Requests are welcome. By submitting a Pull Request you agree with releasing\nyour code under the MIT licence.\n\nYou can join the [Gitter Channel](https://gitter.im/origamitower/discussion) for\nquick support. You may also contact the author directly through\n[email](mailto:queen@robotlolita.me), or\n[Twitter](https://twitter.com/robotlolita).\n\nNote that all interactions in this project are subject to Origami Tower's\n[Code of Conduct](https://github.com/origamitower/refinable/blob/master/CODE_OF_CONDUCT.md).\n\n\n## Licence\n\nRefinable is copyright (c) Quildreen Motta 2016, and released under the MIT licence. See the `LICENCE` file in this repository for detailed information.\n","maintainers":[{"name":"robotlolita","email":"quildreen@gmail.com"}],"time":{"modified":"2023-03-28T15:41:16.961Z","created":"2016-05-01T02:40:36.931Z","1.0.0":"2016-05-01T02:40:36.931Z","1.0.1":"2016-05-01T02:48:52.845Z","1.0.2":"2016-05-17T01:06:35.035Z"},"homepage":"https://github.com/origamitower/refinable#readme","keywords":["object-orientation","oop","prototypes"],"repository":{"type":"git","url":"git+https://github.com/origamitower/refinable.git"},"author":{"name":"Quildreen Motta","email":"queen@robotlolita.me"},"bugs":{"url":"https://github.com/origamitower/refinable/issues"},"readmeFilename":"README.md","license":"MIT"}