{"name":"to-buffer","version":"1.2.1","description":"Pass in a string, array, Buffer, Data View, or Uint8Array, and get a Buffer back.","main":"index.js","sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*'","test":"npm run tests-only","posttest":"npx npm@\">= 10.2\" audit --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/browserify/to-buffer.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/browserify/to-buffer/issues"},"homepage":"https://github.com/browserify/to-buffer","dependencies":{"isarray":"^2.0.5","safe-buffer":"^5.2.1","typed-array-buffer":"^1.0.3"},"devDependencies":{"@ljharb/eslint-config":"^21.1.1","auto-changelog":"^2.5.0","available-typed-arrays":"^1.0.7","encoding":"^0.1.13","eslint":"=8.8.0","for-each":"^0.3.5","npmignore":"^0.3.1","nyc":"^10.3.2","tape":"^5.9.0"},"engines":{"node":">= 0.4"},"publishConfig":{"ignore":[".github/workflows","test"]},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"_id":"to-buffer@1.2.1","gitHead":"07afa81f7281d5987258697d4624d8eb721f066e","_nodeVersion":"24.2.0","_npmVersion":"11.3.0","dist":{"shasum":"2ce650cdb262e9112a18e65dc29dcb513c8155e0","size":5725,"noattachment":false,"key":"/to-buffer/-/to-buffer-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-buffer/download/to-buffer-1.2.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com","actor":{"name":"ljharb","email":"ljharb@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"ljharb","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/to-buffer_1.2.1_1750400125558_0.4380206988383526"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-20T06:15:25.734Z","publish_time":1750400125734,"_source_registry_name":"default","_cnpm_publish_time":1750400125734,"dist-tags":{"latest":"1.2.2"}}