{"id":21202489,"url":"https://github.com/infrablocks/ruby_npm","last_synced_at":"2025-06-17T18:36:17.120Z","repository":{"id":65313390,"uuid":"583415392","full_name":"infrablocks/ruby_npm","owner":"infrablocks","description":"A simple Ruby wrapper for invoking NPM commands.","archived":false,"fork":false,"pushed_at":"2025-05-28T08:10:29.000Z","size":302,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-28T09:25:53.130Z","etag":null,"topics":["command-line","npm","ruby","ruby-gem","ruby-library","rubygem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infrablocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-29T17:57:37.000Z","updated_at":"2025-05-28T08:10:26.000Z","dependencies_parsed_at":"2023-02-14T15:16:14.883Z","dependency_job_id":"858fc4b9-cc73-43bb-8792-e8c2fe7db40f","html_url":"https://github.com/infrablocks/ruby_npm","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/infrablocks/ruby_npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infrablocks","download_url":"https://codeload.github.com/infrablocks/ruby_npm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infrablocks%2Fruby_npm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260419586,"owners_count":23006311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","npm","ruby","ruby-gem","ruby-library","rubygem"],"created_at":"2024-11-20T20:16:10.160Z","updated_at":"2025-06-17T18:36:12.102Z","avatar_url":"https://github.com/infrablocks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RubyNPM\n\nA simple wrapper around the `npm` binary to allow execution from within\na Ruby program, RSpec test or Rakefile.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'ruby_npm'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install ruby_npm\n\n## Usage\n\nTo require `RubyNPM`:\n\n```ruby\nrequire 'ruby_npm'\n```\n\n## Documentation\n\n* [API docs](https://infrablocks.github.io/ruby_npm/index.html)\n\n## Development\n\nTo install dependencies and run the build, run the pre-commit build:\n\n```shell\n./go\n```\n\nThis runs all unit tests and other checks including coverage and code linting /\nformatting.\n\nTo run only the unit tests, including coverage:\n\n```shell\n./go test:unit\n```\n\nTo attempt to fix any code linting / formatting issues:\n\n```shell\n./go library:fix\n```\n\nTo check for code linting / formatting issues without fixing:\n\n```shell\n./go library:check\n```\n\nYou can also run `bin/console` for an interactive prompt that will allow you to\nexperiment.\n\n### Managing CircleCI keys\n\nTo encrypt a GPG key for use by CircleCI:\n\n```shell\nopenssl aes-256-cbc \\\n  -e \\\n  -md sha1 \\\n  -in ./config/secrets/ci/gpg.private \\\n  -out ./.circleci/gpg.private.enc \\\n  -k \"\u003cpassphrase\u003e\"\n```\n\nTo check decryption is working correctly:\n\n```shell\nopenssl aes-256-cbc \\\n  -d \\\n  -md sha1 \\\n  -in ./.circleci/gpg.private.enc \\\n  -k \"\u003cpassphrase\u003e\"\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/infrablocks/ruby_npm. This project is intended to be a\nsafe, welcoming space for collaboration, and contributors are expected to adhere\nto the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfrablocks%2Fruby_npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfrablocks%2Fruby_npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfrablocks%2Fruby_npm/lists"}