{"_id":"utf8-string-bytes","_rev":"7-cdb9bcf148d9ef2c13d63270d02dfd5a","name":"utf8-string-bytes","time":{"modified":"2022-06-28T07:09:03.098Z","created":"2017-04-15T01:44:04.504Z","1.0.0":"2017-04-15T01:44:04.504Z","1.0.1":"2017-04-15T01:47:43.564Z","1.0.2":"2017-04-17T18:07:57.568Z","1.0.3":"2017-12-13T11:08:21.153Z"},"maintainers":[{"name":"leonardosnt","email":"devleeo@outlook.com"}],"dist-tags":{"latest":"1.0.3"},"description":"Convert a string to utf8 byte array or vice versa.","readme":"```javascript\r\n// Copyright 2008 The Closure Library Authors. All Rights Reserved.\r\n//\r\n// Licensed under the Apache License, Version 2.0 (the \"License\");\r\n// you may not use this file except in compliance with the License.\r\n// You may obtain a copy of the License at\r\n//\r\n//      http://www.apache.org/licenses/LICENSE-2.0\r\n//\r\n// Unless required by applicable law or agreed to in writing, software\r\n// distributed under the License is distributed on an \"AS-IS\" BASIS,\r\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n// See the License for the specific language governing permissions and\r\n// limitations under the License.\r\n```\r\n\r\nConvert a string to an array of bytes and vice versa.\r\n\r\n```javascript\r\nimport { utf8ByteArrayToString, stringToUtf8ByteArray } from 'utf8-string-bytes';\r\n\r\nlet fromString = stringToUtf8ByteArray('Olá'); // [79, 108, 195, 161]\r\nlet toString = utf8ByteArrayToString([79, 108, 195, 161]); // Olá\r\n```","versions":{"1.0.1":{"name":"utf8-string-bytes","version":"1.0.1","description":"Convert a string to utf8 byte array or vice versa.","main":"index.js","files":["index.js","test.js"],"scripts":{"test":"mocha"},"keywords":["utf-8","string","bytes","array"],"author":{"name":"leonardosnt"},"license":"Apache-2.0","devDependencies":{"mocha":"^3.2.0"},"_id":"utf8-string-bytes@1.0.1","_shasum":"5e837ad2c5d1ff6d3e4054b1615c8ec796cabe80","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"leonardosnt","email":"devleeo@outlook.com"},"dist":{"shasum":"5e837ad2c5d1ff6d3e4054b1615c8ec796cabe80","tarball":"https://registry.npmjs.org/utf8-string-bytes/-/utf8-string-bytes-1.0.1.tgz","integrity":"sha512-JYT7Xlmq4Qz2G4MSHuOohZE8PPJig1dSVVIbb5GkDDH6iSmWZrBG7jdxxJfGw+jEkjVcQ+ZMift3AmeHb0eLzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC41moRLo9wSAd35R9Unj8xZEaaP8D5FnFv56LdXPh5TQIgSRe4f74p6MzKnv6rDJPVEqYGGLbE4zLEpDUw9MZ53AI="}]},"maintainers":[{"name":"leonardosnt","email":"devleeo@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/utf8-string-bytes-1.0.1.tgz_1492220863323_0.2784409031737596"}},"1.0.2":{"name":"utf8-string-bytes","version":"1.0.2","description":"Convert a string to utf8 byte array or vice versa.","main":"index.js","files":["index.js","test.js"],"scripts":{"test":"mocha"},"keywords":["utf-8","string","bytes","array"],"author":{"name":"leonardosnt"},"license":"Apache-2.0","devDependencies":{"mocha":"^3.2.0"},"_id":"utf8-string-bytes@1.0.2","_shasum":"bf6e84d8073be4d01c2f541a1559d3f69f16298b","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"leonardosnt","email":"devleeo@outlook.com"},"dist":{"shasum":"bf6e84d8073be4d01c2f541a1559d3f69f16298b","tarball":"https://registry.npmjs.org/utf8-string-bytes/-/utf8-string-bytes-1.0.2.tgz","integrity":"sha512-HVyzbjbUX5v3cP1rbwGEluqEbt7hvXAkWI4b8M4MNF2hkfCFrUEmpQ4NXJu8vyZ/HU+yao0E0NaljwW558N2Pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICy/zEXNcRXvppXJ6GqdqzxuEi6kQEdASPsa1BObyaxGAiEAl8xOXWsgdkI3SYdorZ7UzRoNIG/kw+mly+Cm4LxCATc="}]},"maintainers":[{"name":"leonardosnt","email":"devleeo@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/utf8-string-bytes-1.0.2.tgz_1492452475895_0.013811111683025956"}},"1.0.3":{"name":"utf8-string-bytes","version":"1.0.3","description":"Convert a string to utf8 byte array or vice versa.","main":"index.js","files":["index.js","test.js"],"scripts":{"test":"mocha"},"keywords":["utf-8","string","bytes","array"],"author":{"name":"leonardosnt"},"license":"Apache-2.0","devDependencies":{"mocha":"^3.2.0"},"_id":"utf8-string-bytes@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"leonardosnt","email":"devleeo@outlook.com"},"dist":{"integrity":"sha512-i/I1Omf6lADjVBlwJpQifZOePV15snHny9w04+lc71+3t8PyWuLC/7clyoOSHOBNGXFe2PAGxmTiZ+Z4HWsPyw==","shasum":"8923be75a543b1a1bb00e5a12c52c1b0553b65c6","tarball":"https://registry.npmjs.org/utf8-string-bytes/-/utf8-string-bytes-1.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCswXgN9QCt+U/1sv3uEv12sTEC6GAG2Wpqq9tjrWqNIgIgN5fYYl7d+zgHH9oeL8a6Qv8zDk63vsKqdtiIYY0XR7k="}]},"maintainers":[{"name":"leonardosnt","email":"devleeo@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utf8-string-bytes-1.0.3.tgz_1513163301033_0.6289667433593422"}}},"keywords":["utf-8","string","bytes","array"],"author":{"name":"leonardosnt"},"license":"Apache-2.0","readmeFilename":"README.md"}