{"_id":"@archwayhq/keyring-go","_rev":"9-b2cb1b9ba0b4a09460865847fc424b65","name":"@archwayhq/keyring-go","dist-tags":{"latest":"0.2.1","pre":"0.2.0-rc.3"},"versions":{"0.1.0":{"name":"@archwayhq/keyring-go","version":"0.1.0","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp-build":"^4.6.0"},"devDependencies":{"node-gyp":"^9.4.0","prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64","install":"node-gyp-build","test":"node --napi-modules ./test/*.js"},"engines":{"node":">=16"},"os":["!win32"],"gitHead":"14fe2d62d0ee35561dc70f21ee0f8d556db9d7f9","_id":"@archwayhq/keyring-go@0.1.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-JpzjZf9w24js99OPC6l22p28wYI4N2fgAB6GENRqz9GCajV1he/nFNuKFw4ZfNyaR5Enlp5V2yYkO/eu+3gtSg==","shasum":"016459e815e5466188f77a398a5dee67891672b2","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.1.0.tgz","fileCount":24,"unpackedSize":10371017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID1HhY9V1WZ8BrqRQ1wuhWjrdJUD9yXoG/F3vnJtLB6PAiB1dB+Ol0YLrseefpx0GQtsOGI5aCL6c0IoN1anz1JrQQ=="}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.1.0_1692964607364_0.6096100617259668"},"_hasShrinkwrap":false},"0.1.1":{"name":"@archwayhq/keyring-go","version":"0.1.1","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp-build":"^4.6.0"},"devDependencies":{"node-gyp":"^9.4.0","prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64","install":"node-gyp-build","test":"node --napi-modules ./test/index.js"},"engines":{"node":">=16"},"os":["!win32"],"gitHead":"67aebd2dfac98aaccb0a48da0dfc004fb723e936","_id":"@archwayhq/keyring-go@0.1.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-70UavbMqUrA+e5s1ZVIbS5zKxd+N7unvIjF1aVhbq8cs1viQcOqxlVYbOsvWcJoJWECobr+KQHQTBnvXRCdM7w==","shasum":"8cfebb7a1a2cf829cd98ece50da3e53156a1608a","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.1.1.tgz","fileCount":26,"unpackedSize":10369312,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDk2qptcDdJE5kcHVgA4kRFOCtNWsl7Nyl2qvEb0zRJ2AiAd4eSgVmIvSaS4kSoNgQRu5yr9NqJ5hAR/tv/hGWVn5A=="}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.1.1_1693304170341_0.32625352942881936"},"_hasShrinkwrap":false},"0.1.2":{"name":"@archwayhq/keyring-go","version":"0.1.2","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp-build":"^4.6.0"},"devDependencies":{"node-gyp":"^9.4.0","prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64","install":"node-gyp-build","test":"node --napi-modules ./test/index.js"},"engines":{"node":">=16"},"os":["!win32"],"_id":"@archwayhq/keyring-go@0.1.2","gitHead":"5dc553e0d21e906f313fa8720c6b9460bb486121","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-dOAculHrfr7vGAzDbRN7hsBrt5VSTvXhFTjHpKupWakmVCJsYEahcuxkCLZdTNrvtY7Som4oTUu3z3JLHcwNLg==","shasum":"87b1efe404b299332690f1bac4f33735ee66465e","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.1.2.tgz","fileCount":26,"unpackedSize":10319510,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2SGtyHyH5IYLcHQJ10VciUQJ1/zFwPjZWilPPfIPUNQIhAMaPF55dpUWyudJ2zvCn5UOjUkGTy7bczfUENhW8s+JN"}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"archway-bot","email":"npm@philabs.xyz"},{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.1.2_1699912822574_0.7522838438315895"},"_hasShrinkwrap":false},"0.1.3":{"name":"@archwayhq/keyring-go","version":"0.1.3","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp-build":"^4.6.0"},"devDependencies":{"node-gyp":"^9.4.0","prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64","install":"node-gyp-build","test":"node --napi-modules ./test/index.js"},"engines":{"node":">=16"},"os":["!win32"],"_id":"@archwayhq/keyring-go@0.1.3","gitHead":"202502aed97864a0a0ee6afa48dff80b713f214a","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-aj++hQxYEB4CWRJiUr1sT+fMmnSVAy1bfmM9ng4+DM+5mvRZRPvaCCxlqNOnrUub5plyyWA+O8IEuleUdcP0dA==","shasum":"b9c9a560fc120ef859b93e8193b60bd456c58149","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.1.3.tgz","fileCount":26,"unpackedSize":10319508,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0hP09adQPtJI5vr9IcD916S1xiF70t113Ln/8deSvRQIgKgbK3kFTh/Q7agqYWkHVerFm2fr3XfGP2wrI8ahE2Kk="}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"archway-bot","email":"npm@philabs.xyz"},{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.1.3_1699916611276_0.35184636551053017"},"_hasShrinkwrap":false},"0.2.0-rc.1":{"name":"@archwayhq/keyring-go","version":"0.2.0-rc.1","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp":"^10.0.1","node-gyp-build":"^4.6.1"},"devDependencies":{"prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh --target=18.0.0","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64 --target=18.0.0","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64 --target=18.0.0","install":"node-gyp-build","test":"node --napi-modules ./test/index.js"},"engines":{"node":">=18"},"os":["!win32"],"_id":"@archwayhq/keyring-go@0.2.0-rc.1","readme":"# Node Keyring\n\nA [Node-API](https://nodejs.org/api/n-api.html) addon for the Cosmos\nKeyring Go library to store values using the OS keyring or the filesystem.\n\n## Project Design and Structure\n\nThe project uses the recommended tooling for NAPI projects:\n\n- Built with C++ to expose Go API to Javascript using the\n  [node-addon-api](https://github.com/nodejs/node-addon-api).\n- Uses the [node-gyp](https://github.com/nodejs/node-gyp) build tool.\n- Uses [prebuildify](https://github.com/prebuild/prebuildify) to prebuild the\n  binaries for your platform.\n\nFolder structure:\n\n- `src/go`: contains all go files\n- `src/keyring.cc`: exposes the C-bound native API to Node.js using C++\n- `src/node` import the `keyring.cc` exports to Javascript\n\n## Development\n\n### Requirements\n\nYou will be building native code, and therefore, a comprehensive number of\nrequirements are needed:\n\n```bash\nnode --version\nnpm --version\nmake --version\ngo --version\npython --version\n```\n\n#### On Mac\n\nInstall the `XCode Command Line Tools`:\n\n```bash\nxcode-select --install\n```\n\nWhich will install `clang`:\n\n```bash\ncc --version\n```\n\n#### On Linux\n\n```bash\ngcc --version\n```\n\n> [!NOTE]\n> Confirm that you have a relatively recent version of each of these dependencies.\n\n### Setup\n\n```bash\nnpm install --ignore-scripts\n```\n\n> You should use the `--ignore-scripts` flag to avoid running the install script.\n\n### Build\n\n```bash\nnpm run build\n```\n\nThe build process uses [`cgo`](https://pkg.go.dev/cmd/cgo) to compile the Go\nmodule into a static C library and [node-gyp](https://nodejs.org/api/addons.html)\nto make the C++ addon available on Node.js via NAPI.\n\nTo avoid compiling the package on the user's machine, the script uses\n[prebuildify](https://github.com/prebuild/prebuildify) to prebuild the binaries\nfor specific platforms. All the prebuilt node binaries are bundled with the\npackage inside the `prebuilds` folder.\n\nWhen installing the package, the install script will check if a compatible\nprebuild is bundled for the current platform. If it is, it will be used instead\nof building from source.\n\nOnce the build completes, you should see the `build` folder in the repository\nroot containing all NAPI-related files.\n\nThe `npm run build` script will automatically run the `build.sh` script to build\nthe Go module to a C library before producing the prebuild binary.\n\n> [!NOTE]\n> On macOS, it's possible to build for both architectures (`x64` and `arm64`).\n> For that, you will need to run `npm run build:x64` and then `npm run build:arm64`.\n> Be aware that you should execute run `npm run build` later. Otherwise, the generated\n> binaries might not be compatible with your current platform.\n\n#### Build the Go package to C using `cgo`\n\nTo build only the Go module for your current platform and architecture, run:\n\n```bash\n./build.sh\n```\n\nOnce the build is complete, you should see the files `keyring.h` and `keyring.a`\nin the `out` folder.\n\n### Test\n\nTo run the bindings tests:\n\n```bash\nnpm run test\n```\n","readmeFilename":"README.md","gitHead":"d6d327169e4dc67e78bf534d134000d9c9932510","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-ozWtcLBJuYfqqiL7rMpdGa9xC91k6aahciBluPwut2cjjbhrazXl68f37uHf+/eyOKC9Gmp8wVrJF6JSGTHTsA==","shasum":"14ea23f8f3daa1fe7af74e2c5980d6686c2d0d61","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.2.0-rc.1.tgz","fileCount":26,"unpackedSize":10320158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLY4pq6iMckJjgolEQZJjEC/tbe8k9o/CBFzl1UiEh9QIgELuEtCcb4JUpXLsBkOHu1Bcou71XrsbeOsF4h73O6JQ="}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"archway-bot","email":"npm@philabs.xyz"},{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.2.0-rc.1_1700088887023_0.660203152371752"},"_hasShrinkwrap":false},"0.2.0-rc.2":{"name":"@archwayhq/keyring-go","version":"0.2.0-rc.2","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp":"^10.0.1","node-gyp-build":"^4.6.1"},"devDependencies":{"prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh --target=18.0.0","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64 --target=18.0.0","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64 --target=18.0.0","install":"node-gyp-build","test":"node --napi-modules ./test/index.js"},"engines":{"node":">=18"},"os":["!win32"],"_id":"@archwayhq/keyring-go@0.2.0-rc.2","readme":"# Node Keyring\n\nA [Node-API](https://nodejs.org/api/n-api.html) addon for the Cosmos\nKeyring Go library to store values using the OS keyring or the filesystem.\n\n## Project Design and Structure\n\nThe project uses the recommended tooling for NAPI projects:\n\n- Built with C++ to expose Go API to Javascript using the\n  [node-addon-api](https://github.com/nodejs/node-addon-api).\n- Uses the [node-gyp](https://github.com/nodejs/node-gyp) build tool.\n- Uses [prebuildify](https://github.com/prebuild/prebuildify) to prebuild the\n  binaries for your platform.\n\nFolder structure:\n\n- `src/go`: contains all go files\n- `src/keyring.cc`: exposes the C-bound native API to Node.js using C++\n- `src/node` import the `keyring.cc` exports to Javascript\n\n## Development\n\n### Requirements\n\nYou will be building native code, and therefore, a comprehensive number of\nrequirements are needed:\n\n```bash\nnode --version\nnpm --version\nmake --version\ngo --version\npython --version\n```\n\n#### On Mac\n\nInstall the `XCode Command Line Tools`:\n\n```bash\nxcode-select --install\n```\n\nWhich will install `clang`:\n\n```bash\ncc --version\n```\n\n#### On Linux\n\n```bash\ngcc --version\n```\n\n> [!NOTE]\n> Confirm that you have a relatively recent version of each of these dependencies.\n\n### Setup\n\n```bash\nnpm install --ignore-scripts\n```\n\n> You should use the `--ignore-scripts` flag to avoid running the install script.\n\n### Build\n\n```bash\nnpm run build\n```\n\nThe build process uses [`cgo`](https://pkg.go.dev/cmd/cgo) to compile the Go\nmodule into a static C library and [node-gyp](https://nodejs.org/api/addons.html)\nto make the C++ addon available on Node.js via NAPI.\n\nTo avoid compiling the package on the user's machine, the script uses\n[prebuildify](https://github.com/prebuild/prebuildify) to prebuild the binaries\nfor specific platforms. All the prebuilt node binaries are bundled with the\npackage inside the `prebuilds` folder.\n\nWhen installing the package, the install script will check if a compatible\nprebuild is bundled for the current platform. If it is, it will be used instead\nof building from source.\n\nOnce the build completes, you should see the `build` folder in the repository\nroot containing all NAPI-related files.\n\nThe `npm run build` script will automatically run the `build.sh` script to build\nthe Go module to a C library before producing the prebuild binary.\n\n> [!NOTE]\n> On macOS, it's possible to build for both architectures (`x64` and `arm64`).\n> For that, you will need to run `npm run build:x64` and then `npm run build:arm64`.\n> Be aware that you should execute run `npm run build` later. Otherwise, the generated\n> binaries might not be compatible with your current platform.\n\n#### Build the Go package to C using `cgo`\n\nTo build only the Go module for your current platform and architecture, run:\n\n```bash\n./build.sh\n```\n\nOnce the build is complete, you should see the files `keyring.h` and `keyring.a`\nin the `out` folder.\n\n### Test\n\nTo run the bindings tests:\n\n```bash\nnpm run test\n```\n","readmeFilename":"README.md","gitHead":"5b9a2258b4f3e44ddba0bb5b0130cf3137b6e0af","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-53C5SDkm/SXa4yboyxKiC61KX3F/MR5cj+SmxJASXxD4cQDKuf7DbLG0HLoJR6A7rjUluO90/hhKLZYEUxzYjw==","shasum":"6afc592b45c8accc0e93fc0b3d844fdcf997ca91","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.2.0-rc.2.tgz","fileCount":27,"unpackedSize":10322778,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAaAJG5+M4GKlrqVI6wTHio1Mma4hTEuY+ak4gL17c0NAiEAuRnwPQ5nBYtuKf+Ca2p4EYHbjYi1mLN+VQnqXkX3NwY="}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"archway-bot","email":"npm@philabs.xyz"},{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.2.0-rc.2_1700090313607_0.3664901175037094"},"_hasShrinkwrap":false},"0.2.0-rc.3":{"name":"@archwayhq/keyring-go","version":"0.2.0-rc.3","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp":"^10.0.1","node-gyp-build":"^4.6.1"},"devDependencies":{"prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh --target=18.0.0","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64 --target=18.0.0","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64 --target=18.0.0","install":"node-gyp-build ./build.sh","test":"node --napi-modules ./test/index.js"},"engines":{"node":">=18"},"os":["!win32"],"_id":"@archwayhq/keyring-go@0.2.0-rc.3","readme":"# Node Keyring\n\nA [Node-API](https://nodejs.org/api/n-api.html) addon for the Cosmos\nKeyring Go library to store values using the OS keyring or the filesystem.\n\n## Project Design and Structure\n\nThe project uses the recommended tooling for NAPI projects:\n\n- Built with C++ to expose Go API to Javascript using the\n  [node-addon-api](https://github.com/nodejs/node-addon-api).\n- Uses the [node-gyp](https://github.com/nodejs/node-gyp) build tool.\n- Uses [prebuildify](https://github.com/prebuild/prebuildify) to prebuild the\n  binaries for your platform.\n\nFolder structure:\n\n- `src/go`: contains all go files\n- `src/keyring.cc`: exposes the C-bound native API to Node.js using C++\n- `src/node` import the `keyring.cc` exports to Javascript\n\n## Development\n\n### Requirements\n\nYou will be building native code, and therefore, a comprehensive number of\nrequirements are needed:\n\n```bash\nnode --version\nnpm --version\nmake --version\ngo --version\npython --version\n```\n\n#### On Mac\n\nInstall the `XCode Command Line Tools`:\n\n```bash\nxcode-select --install\n```\n\nWhich will install `clang`:\n\n```bash\ncc --version\n```\n\n#### On Linux\n\n```bash\ngcc --version\n```\n\n> [!NOTE]\n> Confirm that you have a relatively recent version of each of these dependencies.\n\n### Setup\n\n```bash\nnpm install --ignore-scripts\n```\n\n> You should use the `--ignore-scripts` flag to avoid running the install script.\n\n### Build\n\n```bash\nnpm run build\n```\n\nThe build process uses [`cgo`](https://pkg.go.dev/cmd/cgo) to compile the Go\nmodule into a static C library and [node-gyp](https://nodejs.org/api/addons.html)\nto make the C++ addon available on Node.js via NAPI.\n\nTo avoid compiling the package on the user's machine, the script uses\n[prebuildify](https://github.com/prebuild/prebuildify) to prebuild the binaries\nfor specific platforms. All the prebuilt node binaries are bundled with the\npackage inside the `prebuilds` folder.\n\nWhen installing the package, the install script will check if a compatible\nprebuild is bundled for the current platform. If it is, it will be used instead\nof building from source.\n\nOnce the build completes, you should see the `build` folder in the repository\nroot containing all NAPI-related files.\n\nThe `npm run build` script will automatically run the `build.sh` script to build\nthe Go module to a C library before producing the prebuild binary.\n\n> [!NOTE]\n> On macOS, it's possible to build for both architectures (`x64` and `arm64`).\n> For that, you will need to run `npm run build:x64` and then `npm run build:arm64`.\n> Be aware that you should execute run `npm run build` later. Otherwise, the generated\n> binaries might not be compatible with your current platform.\n\n#### Build the Go package to C using `cgo`\n\nTo build only the Go module for your current platform and architecture, run:\n\n```bash\n./build.sh\n```\n\nOnce the build is complete, you should see the files `keyring.h` and `keyring.a`\nin the `out` folder.\n\n### Test\n\nTo run the bindings tests:\n\n```bash\nnpm run test\n```\n","readmeFilename":"README.md","gitHead":"c9c51224783144c6892b0dc81d438faa5c99bc3e","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-B/YoYx7UwF22juSHUPNBFaj6ILwV+KYqF75VK4PxPc0nkmkQZGlnU/I861gBzdNOjEXvhSUbf+S6GvW7b5ZQ/A==","shasum":"a6467e0a3792f5381137f9db251c184c8620c394","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.2.0-rc.3.tgz","fileCount":27,"unpackedSize":10322789,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFO61k6JKkQzRmpvKkUPSBI6gOzSAk9VMelFmU0JTXxuAiBSR9VQCQDfXKTTht8JmJuBx/0mDC/n7R8viVPsIz27HA=="}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"archway-bot","email":"npm@philabs.xyz"},{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.2.0-rc.3_1700092158723_0.9887578328940152"},"_hasShrinkwrap":false},"0.2.0":{"name":"@archwayhq/keyring-go","version":"0.2.0","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp":"^10.0.1","node-gyp-build":"^4.6.1"},"devDependencies":{"prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh --target=18.0.0","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64 --target=18.0.0","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64 --target=18.0.0","install":"node-gyp-build ./build.sh","test":"node --napi-modules ./test/index.js"},"engines":{"node":">=18"},"os":["!win32"],"_id":"@archwayhq/keyring-go@0.2.0","gitHead":"ebe4f784cd09ec713976852604585c34ec8f5b00","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-thfwBF30QKwIbnRzbXz5+bupCb1snCdOXnAAupnB8eDsO/uqNiZzLXtjjyehb7j96leaYfdcXFFGDYr3glpqFg==","shasum":"e0ffbd796ba726d7da978f68e9fef385646039a2","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.2.0.tgz","fileCount":27,"unpackedSize":10322784,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC88uqaI9bf/Qb584xOs2T7rGQ4V7TteXthvQHKrNRl0gIgVP32ZTfmke18svKgImNt45JvUtNXuzwK+Lr1UiSryA0="}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"archway-bot","email":"npm@philabs.xyz"},{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.2.0_1700093456982_0.7709698257825188"},"_hasShrinkwrap":false},"0.2.1":{"name":"@archwayhq/keyring-go","version":"0.2.1","description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"author":{"name":"Archway Network","url":"https://archway.io"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"main":"src/node/index.js","gypfile":true,"dependencies":{"node-addon-api":"^7.0.0","node-gyp":"^10.0.1","node-gyp-build":"^4.6.1"},"devDependencies":{"prebuildify":"^5.0.1","rimraf":"^5.0.1"},"scripts":{"clean":"rimraf ./build ./out","build":"prebuildify --napi --strip --preinstall=./build.sh --target=18.0.0","build:x64":"prebuildify --napi --strip --preinstall='./build.sh amd64' --arch=x64 --target=18.0.0","build:arm64":"prebuildify --napi --strip --preinstall='./build.sh arm64' --arch=arm64 --target=18.0.0","install":"node-gyp-build ./build.sh","test":"node --napi-modules ./test/index.js"},"engines":{"node":">=18"},"os":["!win32"],"_id":"@archwayhq/keyring-go@0.2.1","gitHead":"3c9749f5d6c3b78132c6264d2b8902a4e01b2ea2","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-i+zpFz8flK2ofe/akn51nbf2r+5pdMQTzhnGCiIpXahf7aTnTi14SAhbeIg903v4iVHif/K1JyLQ1qTy0tgqmA==","shasum":"c1500072975372df1ee954240eaf1409cfeee16c","tarball":"https://registry.npmjs.org/@archwayhq/keyring-go/-/keyring-go-0.2.1.tgz","fileCount":27,"unpackedSize":10322949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGseDz6bSWxAc4OsUYhSCGyvTUeB6kMOMJ4n2dkr3Bs9AiEAoE/KrnK0RKqqHCWHdOiHOzNaedK4YlLDqsp0ZQv/6BQ="}]},"_npmUser":{"name":"aelesbao","email":"aelesbao@gmail.com"},"directories":{},"maintainers":[{"name":"archway-bot","email":"npm@philabs.xyz"},{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keyring-go_0.2.1_1708616762175_0.7489330252881732"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-25T11:56:47.237Z","0.1.0":"2023-08-25T11:56:47.584Z","modified":"2024-02-22T15:46:02.830Z","0.1.1":"2023-08-29T10:16:10.650Z","0.1.2":"2023-11-13T22:00:22.813Z","0.1.3":"2023-11-13T23:03:31.611Z","0.2.0-rc.1":"2023-11-15T22:54:47.263Z","0.2.0-rc.2":"2023-11-15T23:18:33.888Z","0.2.0-rc.3":"2023-11-15T23:49:18.983Z","0.2.0":"2023-11-16T00:10:57.241Z","0.2.1":"2024-02-22T15:46:02.394Z"},"maintainers":[{"name":"archway-bot","email":"npm@philabs.xyz"},{"name":"aelesbao","email":"aelesbao@gmail.com"},{"name":"richgirlonlsd","email":"peridiotically@gmail.com"}],"description":"A Node.js native addon for the Cosmos Keyring Go library to store values using the OS keyring or the filesystem","homepage":"https://docs.archway.io","repository":{"type":"git","url":"git+https://github.com/archway-network/keyring-go.git"},"contributors":[{"name":"Elias Poroma","url":"https://github.com/eliasmpw"},{"name":"Augusto Elesbão","url":"https://github.com/aelesbao"}],"author":{"name":"Archway Network","url":"https://archway.io"},"bugs":{"url":"https://github.com/archway-network/keyring-go/issues"},"license":"Apache-2.0","readme":"# Node Keyring\n\nA [Node-API](https://nodejs.org/api/n-api.html) addon for the Cosmos\nKeyring Go library to store values using the OS keyring or the filesystem.\n\n## Project Design and Structure\n\nThe project uses the recommended tooling for NAPI projects:\n\n- Built with C++ to expose Go API to Javascript using the\n  [node-addon-api](https://github.com/nodejs/node-addon-api).\n- Uses the [node-gyp](https://github.com/nodejs/node-gyp) build tool.\n- Uses [prebuildify](https://github.com/prebuild/prebuildify) to prebuild the\n  binaries for your platform.\n\nFolder structure:\n\n- `src/go`: contains all go files\n- `src/keyring.cc`: exposes the C-bound native API to Node.js using C++\n- `src/node` import the `keyring.cc` exports to Javascript\n\n## Development\n\n### Requirements\n\nYou will be building native code, and therefore, a comprehensive number of\nrequirements are needed:\n\n```bash\nnode --version\nnpm --version\nmake --version\ngo --version\npython --version\n```\n\n#### On Mac\n\nInstall the `XCode Command Line Tools`:\n\n```bash\nxcode-select --install\n```\n\nWhich will install `clang`:\n\n```bash\ncc --version\n```\n\n#### On Linux\n\n```bash\ngcc --version\n```\n\n> [!NOTE]\n> Confirm that you have a relatively recent version of each of these dependencies.\n\n### Setup\n\n```bash\nnpm install --ignore-scripts\n```\n\n> You should use the `--ignore-scripts` flag to avoid running the install script.\n\n### Build\n\n```bash\nnpm run build\n```\n\nThe build process uses [`cgo`](https://pkg.go.dev/cmd/cgo) to compile the Go\nmodule into a static C library and [node-gyp](https://nodejs.org/api/addons.html)\nto make the C++ addon available on Node.js via NAPI.\n\nTo avoid compiling the package on the user's machine, the script uses\n[prebuildify](https://github.com/prebuild/prebuildify) to prebuild the binaries\nfor specific platforms. All the prebuilt node binaries are bundled with the\npackage inside the `prebuilds` folder.\n\nWhen installing the package, the install script will check if a compatible\nprebuild is bundled for the current platform. If it is, it will be used instead\nof building from source.\n\nOnce the build completes, you should see the `build` folder in the repository\nroot containing all NAPI-related files.\n\nThe `npm run build` script will automatically run the `build.sh` script to build\nthe Go module to a C library before producing the prebuild binary.\n\n> [!NOTE]\n> On macOS, it's possible to build for both architectures (`x64` and `arm64`).\n> For that, you will need to run `npm run build:x64` and then `npm run build:arm64`.\n> Be aware that you should execute run `npm run build` later. Otherwise, the generated\n> binaries might not be compatible with your current platform.\n\n#### Build the Go package to C using `cgo`\n\nTo build only the Go module for your current platform and architecture, run:\n\n```bash\n./build.sh\n```\n\nOnce the build is complete, you should see the files `keyring.h` and `keyring.a`\nin the `out` folder.\n\n### Test\n\nTo run the bindings tests:\n\n```bash\nnpm run test\n```\n","readmeFilename":"README.md"}