{"id":21726957,"url":"https://github.com/wttech/node-wrapper","last_synced_at":"2025-07-10T20:08:29.080Z","repository":{"id":241478890,"uuid":"806939090","full_name":"wttech/node-wrapper","owner":"wttech","description":"Node/NPM/NPX wrapper scripts for automatic setup and utilization of Node.js in local or project-specific environments","archived":false,"fork":false,"pushed_at":"2024-05-28T07:51:00.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-20T23:14:22.848Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wttech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2024-05-28T07:33:00.000Z","updated_at":"2025-03-20T10:56:17.000Z","dependencies_parsed_at":"2024-05-28T17:09:01.347Z","dependency_job_id":null,"html_url":"https://github.com/wttech/node-wrapper","commit_stats":null,"previous_names":["wttech/node-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wttech/node-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wttech%2Fnode-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wttech%2Fnode-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wttech%2Fnode-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wttech%2Fnode-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wttech","download_url":"https://codeload.github.com/wttech/node-wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wttech%2Fnode-wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264647859,"owners_count":23643652,"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":[],"created_at":"2024-11-26T03:42:20.401Z","updated_at":"2025-07-10T20:08:29.062Z","avatar_url":"https://github.com/wttech.png","language":"Shell","readme":"[![WTT Logo](https://github.com/wttech/aemc-ansible/raw/main/docs/wtt-logo.png)](https://www.wundermanthompson.com/service/technology)\n\n[![Apache License, Version 2.0, January 2004](https://github.com/wttech/aemc-ansible/raw/main/docs/apache-license-badge.svg)](http://www.apache.org/licenses/)\n\n# Node Wrapper(s)\n\nThis project provides Node/NPM/NPX wrapper scripts. These scripts automate the setup and utilization of Node.js in local or project-specific environments.\n\n# Rationale\n\nThe Node.js ecosystem is vast and diverse, leading to several challenges:\n\n1. **Multiple Project Requirements**: Different projects may require different versions of Node.js, NPM, or NPX. This diversity can lead to conflicts when working on multiple projects simultaneously.\n\n2. **Environment Constraints**: In certain environments, such as CI/CD pipelines or Docker containers, Node.js may not be installed by default. This can pose challenges in setting up and maintaining the development environment.\n\n3. **Version Management**: Managing multiple versions of Node.js on the same machine can be complex and error-prone.\n\nThe Node Wrapper scripts aim to address these challenges by providing a flexible and easy-to-use solution for managing Node.js versions.\n\n## Usage\n\nThe wrapper scripts allow you to use different versions of Node.js across various projects without needing a global installation.\n\nTo use the wrapper scripts, follow these steps:\n\n1. Copy the scripts to your project directory.\n2. Replace the commands in your project scripts:\n    - Replace `node` with `sh nodew`\n    - Replace `npm` with `sh npmw`\n    - Replace `npx` with `sh npxw`\n\nHere's an example:\n\n```shell\n% sh npxw --version\n10.7.0\n```\n\nPlease note that a directory named 'node' will be created. Make sure to add it to your VCS ignore list.\n\n# Authors\n\n[Krystian Panek](mailto:krystian.panek@wundermanthompson.com)\n\n# License\n\n**Node Wrapper** is licensed under the [Apache License, Version 2.0 (the \"License\")](https://www.apache.org/licenses/LICENSE-2.0.txt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwttech%2Fnode-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwttech%2Fnode-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwttech%2Fnode-wrapper/lists"}