{"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"dist-tags":{"latest":"1.0.0"},"author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"description":"A [W3C HTML JSON forms spec](http://www.w3.org/TR/html-json-forms/) compliant field appender (for lack of a better name). Useful for people implementing `application/x-www-form-urlencoded` and `multipart/form-data` parsers.","readme":"# `append-field`\n\nA [W3C HTML JSON forms spec](http://www.w3.org/TR/html-json-forms/) compliant\nfield appender (for lack of a better name). Useful for people implementing\n`application/x-www-form-urlencoded` and `multipart/form-data` parsers.\n\nIt works best on objects created with `Object.create(null)`. Otherwise it might\nconflict with variables from the prototype (e.g. `hasOwnProperty`).\n\n## Installation\n\n```sh\nnpm install --save append-field\n```\n\n## Usage\n\n```javascript\nvar appendField = require('append-field')\nvar obj = Object.create(null)\n\nappendField(obj, 'pets[0][species]', 'Dahut')\nappendField(obj, 'pets[0][name]', 'Hypatia')\nappendField(obj, 'pets[1][species]', 'Felis Stultus')\nappendField(obj, 'pets[1][name]', 'Billie')\n\nconsole.log(obj)\n```\n\n```text\n{ pets:\n   [ { species: 'Dahut', name: 'Hypatia' },\n     { species: 'Felis Stultus', name: 'Billie' } ] }\n```\n\n## API\n\n### `appendField(store, key, value)`\n\nAdds the field named `key` with the value `value` to the object `store`.\n\n## License\n\nMIT\n","repository":{"type":"git","url":"git+ssh://git@github.com/LinusU/node-append-field.git"},"bugs":{"url":"https://github.com/LinusU/node-append-field/issues"},"license":"MIT","versions":{"0.1.0":{"name":"append-field","version":"0.1.0","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","devDependencies":{"mocha":"^2.2.4","standard":"^3.7.2","testdata-w3c-json-form":"^0.2.0"},"scripts":{"test":"standard && mocha"},"repository":{"type":"git","url":"http://github.com/LinusU/node-append-field.git"},"gitHead":"b88c9cc6a37273956843422ca2d384bd55b44b08","description":"A [W3C HTML JSON forms spec](http://www.w3.org/TR/html-json-forms/) compliant field appender (for lack of a better name). Useful for people implementing `application/x-www-form-urlencoded` and `multipart/form-data` parsers.","bugs":{"url":"https://github.com/LinusU/node-append-field/issues"},"homepage":"https://github.com/LinusU/node-append-field","_id":"append-field@0.1.0","_shasum":"6ddc58fa083c7bc545d3c5995b2830cc2366d44a","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"dist":{"shasum":"6ddc58fa083c7bc545d3c5995b2830cc2366d44a","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/append-field/-/append-field-0.1.0.tgz"},"directories":{}},"1.0.0":{"name":"append-field","version":"1.0.0","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","devDependencies":{"mocha":"^2.2.4","standard":"^6.0.5","testdata-w3c-json-form":"^0.2.0"},"scripts":{"test":"standard && mocha"},"repository":{"type":"git","url":"git+ssh://git@github.com/LinusU/node-append-field.git"},"gitHead":"4e103efe352cfcb072366e3f43aa355c0932bace","description":"A [W3C HTML JSON forms spec](http://www.w3.org/TR/html-json-forms/) compliant field appender (for lack of a better name). Useful for people implementing `application/x-www-form-urlencoded` and `multipart/form-data` parsers.","bugs":{"url":"https://github.com/LinusU/node-append-field/issues"},"homepage":"https://github.com/LinusU/node-append-field#readme","_id":"append-field@1.0.0","_shasum":"1e3440e915f0b1203d23748e78edd7b9b5b43e56","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"dist":{"shasum":"1e3440e915f0b1203d23748e78edd7b9b5b43e56","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/append-field/-/append-field-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/append-field-1.0.0.tgz_1455461274302_0.4959568399935961"},"directories":{}}},"name":"append-field","time":{"modified":"2016-02-14T14:47:56.413Z","created":"2015-05-03T14:46:59.304Z","0.1.0":"2015-05-03T14:46:59.304Z","1.0.0":"2016-02-14T14:47:56.413Z"},"readmeFilename":"README.md","homepage":"https://github.com/LinusU/node-append-field#readme"}