Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
produce-package-keywords
Advanced tools
Produces keywords for your node.js package so that users can better find your package on npm
Produces keywords for a package by analyzing its package.json, a string, or file.
npm install produce-package-keywords --save
const ppk = require('produce-package-keywords')
produce keywords given a file
ppk.fromFile('path/to/file.txt', (error, result) => {
if (error) {
...
}
...
})
produce keywords given a string
ppk.process(string, callback)
// alias
ppk(string, callback)
ppk(string, (error, result) => {
if (error) {
...
}
...
})
or from package.json's name and description fields
ppk.process(callback)
// alias
ppk(callback)
ppk((error, result) => {
if (error) {
...
}
...
})
Returns an error first callback with an array of extracted keywords from string if given, otherwise from package.json's name and description fields.
[string] - optional string argument
callback - error first callback
Returns an error first callback with an array of extracted keywords from the given file
file - file to extract from
callback - error first callback
npm install
npm test
PRs accepted and greatly appreciated.
rm -rf
)MIT © mrzmmr
FAQs
Produces keywords for your node.js package so that users can better find your package on npm
The npm package produce-package-keywords receives a total of 0 weekly downloads. As such, produce-package-keywords popularity was classified as not popular.
We found that produce-package-keywords 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.