Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
schenkerian
Advanced tools
Schenkerian analysis is a method of musical analysis by interpreting the underlying structure of a tonal work and to help reading the score according to that structure.
This library is that, but for HTML built on top of Natural Node which includes term frequency, string similarities, and tokenizing. Given most webpages (attempt) to use the semantics of HTML, it takes into account not only term frequency, but the weight of an HTML tag, placement in document, and other useful forms of denoting significance (like Open Graph).
$ npm install schenkerian --save
var analyze = require('schenkerian')
analyze({
url: 'http://dustindiaz.com',
body: '<html>...</html>' // optional. if absent, the module will `request` the given webpage
})
.then(function (result) {
console.log(result)
})
{
"totalWords": 637,
"permalink": "http://dustindiaz.com/",
"title": "Dustin Diaz",
"relevance": [
{
"word": "javascript",
"score": 1.074,
"count": 47
},
{
"word": "ender",
"score": 0.571,
"count": 25
},
{
"word": "follow",
"score": 0.228,
"count": 10
},
{
"word": "css",
"score": 0.228,
"count": 10
},
{
"word": "qwery tiny selector",
"score": 0.14,
"count": 3
},
{
"word": "open submodule library",
"score": 0.14,
"count": 3
},
{
"word": "js open submodule",
"score": 0.14,
"count": 3
},
{
"word": "ender js open",
"score": 0.14,
"count": 3
},
{
"word": "mvc framework node",
"score": 0.14,
"count": 3
},
{
"word": "tiny selector engine",
"score": 0.14,
"count": 3
}
]
}
FAQs
a HTML keyword analyzer
The npm package schenkerian receives a total of 3 weekly downloads. As such, schenkerian popularity was classified as not popular.
We found that schenkerian demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.