
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
static-assets
Advanced tools
CLI tool for bundling static assets from NPM (think textures, audio for voxeljs, but could potentially be used for creating CSS bundles too, I guess). Makes assets published on NPM suitable for publishing on a CDN.
$ npm install -g static-assets
...
$ cat package.json
...
"dependencies": { "painterly-textures": "0.0.X", "garys-sweet-textures": "0.0.12" },
"useAssets": {
"outputDirOne": { "painterly-textures": "**/*.png", "garys-sweet-textures": "lib/overwrite.png" },
"outputDirTwo": { "garys-sweet-textures": "apocrypha/*.png" }
}
...
$ static-assets --package package.json --output assets
...
$ tree assets
assets/
├── outputDirOne
| ├── brick.png
| ├── grass.png
| ├── things.png
| └── overwrite.png
└── outputDirTwo
├── lovecraft.png
├── gary_busey.png
└── derp.png
The syntax it expects is {"destination": {"module-name": "file_or_glob"} }, where for every file
it finds, it will do the equivalent of cp -r node_modules/module-name/found_file destination/.
Later modules in the object may overwrite previous output from previous modules.
If --package is not given, it is assumed to be ./package.json. It uses resolve to find
the modules listed in useAssets.
MIT
FAQs
cli tool for slurping up assets and plopping them into a directory
We found that static-assets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.