
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@pencilpix/peaks
Advanced tools
nodejs server that accept posting a url of audio file and respond with it's peaks.
it depends on ffmpeg
and canvas
. please be sure you have it on the machine before use this server.
clone or download this repo
ffmpeg
is installed at your machine.cd /path/to/repo/clone
npm install
or yarn
yarn run start
const url = 'http://localhost:2500/peaks'
const waveformOptions = {
barGap: 2,
barWidth: 2,
height: 128,
width: 1200,
waveColor: '#757575',
maxWidth: 4000,
pxRatio: 2,
numOfSample: 1800,
waveformType: 1,
}
axios.get(url, {
track: 'http://kolber.github.io/audiojs/demos/mp3/06-suicidal-fantasy.mp3', // could be ['url']
...waveformOptions
})
// -> response { track: 'http://kolber.github.io/audiojs/demos/mp3/06-suicidal-fantasy.mp3', image: 'data:image/png;base64...', peaks: [0.324, 0.3243, ....]}
FAQs
nodejs server that accept posting a url of audio file and respond with it's peaks.
The npm package @pencilpix/peaks receives a total of 0 weekly downloads. As such, @pencilpix/peaks popularity was classified as not popular.
We found that @pencilpix/peaks 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.