{"name":"encode-utf8","version":"1.0.2","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LinusU/encode-utf8.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^4.0.1","standard":"^10.0.3"},"gitHead":"37facae571b625845cca3e0507e0e2c2a1dafcc1","description":"Turn a string into an ArrayBuffer by using the UTF8 encoding.","bugs":{"url":"https://github.com/LinusU/encode-utf8/issues"},"homepage":"https://github.com/LinusU/encode-utf8#readme","_id":"encode-utf8@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"integrity":"sha512-uZHa/WomOJYUuRznENTRZZI7DCpwC6rdKIXPYJU79Oeo5+QN24bL0uisuTm1TeWtmncS7J5or2Z0c/3k29yz3A==","shasum":"b53329db2bad4c83a2242e44cfda92496f9369d3","tarball":"http://registry-npm.ywwl.com/encode-utf8/download/encode-utf8-1.0.2.tgz","fileCount":5,"unpackedSize":4039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5vFPCRA9TVsSAnZWagAAdncP/3KcAEhIAEAXP+UpyV0X\ntPLUS0ltKibcnRFbvmRb4lDZZ/fATS0YyMSbTbdb9jpECfFRFjwFRWMgdLop\npJ7zDZ0y8qvAAL2frIx6TxEYqvrKdn/uOl2YikKZ2v4414lQTjmRPB8vqU8U\nUQEm6vmnmtGAN6lQ6s5KG72vLVFYOaTzldJ1WaRMSAZ2u869mndWUQCFCvZt\ndzlr9pyvdi2mO43ecTJDQfmvD+Qt1/RUlxoxWCfXPPG01T/v3N78/Dizj1bJ\nm3wM6vhYRjHTDTSTfPC1WyrVqQmSbZhpae9b5XU5erEVui/eVnaC6KPXBmfV\nVD4hAz+U+sn3of12Ir+c2EZtMsWUs1Z0SgjYLdqWtZGfeIOdd1MIyE4NMKN5\neYB/lR6onFb8bXS41tOZ3EYXOyKduLff36VhDB+ci0ok/XUzmTFi2mfarcqX\nx7pl1fF2c4u5XCZ8b/aW+SzzalOrzStVFz8aDsY0Ttd8Rs1qyePPUri54Ag+\n0j3Qv+Gg0reMhS8jdvSYvPr6r5JlxP9onv15wfN8MH9qnMJs2lm/4ZLqYqyl\nXNjgpSeFxOWI/F0Lur85dyLNhHcoNkolWwkOw94TDEQV6JPYlcsS/6hKOIWg\nHHCwOm9x2RW3OaOSMrAB5LcOY39N/ci24ymwJhnUfO0BwErtCqVvpb6eLHox\nCtMc\r\n=q23W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvttHf23vY4jJRw5IAXDSuXioDpKgGIz9BycZbaBobdAiEAyNw+zcZuWaEn3k3PTo/eJrswjh+CP1Y/smaZcYLYCf0="}],"size":1815,"noattachment":false,"key":"/encode-utf8/-/encode-utf8-1.0.2.tgz"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encode-utf8_1.0.2_1525084494323_0.8891248962266183"},"_hasShrinkwrap":false,"readme":"# Encode UTF8\n\nTurn a string into an ArrayBuffer by using the UTF8 encoding.\n\n## Installation\n\n```js\nnpm install --save encode-utf8\n```\n\n## Usage\n\n```js\nimport encodeUtf8 from 'encode-utf8'\n\nconsole.log(encodeUtf8('Hello, World!'))\n//=> ArrayBuffer { byteLength: 13 }\n\nconsole.log(encodeUtf8('🐵 🙈 🙉 🙊'))\n//=> ArrayBuffer { byteLength: 19 }\n```\n\n## API\n\n### `encodeUtf8(input)`\n\n- `input` (`string`, required)\n- returns `ArrayBuffer` - an ArrayBuffer with the `input` string represented as UTF8 encoded data\n","publish_time":1525084494454,"_cnpm_publish_time":1525084494454,"dist-tags":{"latest":"2.0.0"}}