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.
JSPF CLI is a command line utility (CLI) relying on the JSPF format to convert and validate playlist files.
JSPF CLI is a robust command line tool (CLI) relying on the JSPF format to convert and validate playlist files.
Supports conversion between: jspf
,xspf
,m3u8
,m3u
,pls
JSPF is an open format used to describe a list of multimedia files (audio or video), created by Xiph. It is both simple and flexible, making it a good choice for programming purposes.
This module was originally developed for Spiff Radio, which uses JSPF as a fundamental part of its architecture.
Validation is done using a JSON Schema based on the XSPF specifications.
$ npm install -g jspf-cli
jspf-cli convert [options] <path_in> <path_out>
-i <file>
: Path to the input file [required].-o <file>
: Path to the output file [required].--force <boolean>
: Force conversion even if the validation fails. Invalid values will be stripped [default is false
].--format_in <format>
: The input format. If omitted, the tool will use the extension of the input file.--format_out <format>
: The output format. If omitted, the tool will use the extension of the output file.Convert a m3u8
playlist to a xspf
one
jspf-cli convert -i "path-to-input-file.m3u8" -o "path-to-output-file.xspf"
jspf-cli validate [options] <path>
-i <file>
: Path to the input file [required].jspf-cli validate -i "path-to-input-file.xspf"
This tool is licensed under the GNU General Public License (GPL).
FAQs
JSPF CLI is a command line utility (CLI) relying on the JSPF format to convert and validate playlist files.
We found that jspf-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.