
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
style-dictionary-npm-example
Advanced tools
This example shows how to set up a style dictionary as an npm module, either to publish to a local npm service or to publish externally.
This example shows how to set up a style dictionary as an npm module, either to publish to a local npm service or to publish externally.
When you publish this npm module, the prepublishOnly hook will run, calling the style dictionary build system to create the necessary files.
First of all, set up the required dependencies running the command npm install in your local CLI environment (if you prefer to use yarn, update the commands accordingly).
At this point, run npm run build. This command will generate the files in the build folder.
Open the package.json file and see how in this specific example there is an extra prepublishOnly command script, that builds the dictionary.
This command is run automatically before the package is prepared and packed via the npm publish command.
FAQs
This example shows how to set up a style dictionary as an npm module, either to publish to a local npm service or to publish externally.
The npm package style-dictionary-npm-example receives a total of 3 weekly downloads. As such, style-dictionary-npm-example popularity was classified as not popular.
We found that style-dictionary-npm-example 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.

Research
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.