{
"$type": "site.standard.document",
"path": "/testing-a-npm-package-locally/",
"publishedAt": "2016-05-09T14:45:40.000Z",
"site": "at://did:plc:6gssgguzeecdttuw4gpdshg2/site.standard.publication/self",
"tags": [
"npm"
],
"textContent": "I ran into this today. I had a pain of a time figuring out how to install a local NPM package for testing.\n\nHere is a quick how to.\n\nFrom the local package you want to install, package the module. You can do this via npm pack. This will create a tgz file of the package.\n\nChange directories to where you want to install your test package. You can install the package via npm install /path/to/packaged-file.tgz.",
"title": "Testing a NPM package locally"
}