Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.