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.
radio4000-sdk
Advanced tools
> Helpers to fetch data via REST API from the Radio4000 Firebase database
Helpers to fetch data via REST API from the Radio4000 Firebase database
This package takes care of a few annoyances with Firebase: not having an id
inside each object, "lists" being returned as an object instead an array.
Here are the methods you can use. All return a promise.
findChannels(amount) // amount is optional
findChannel(id)
findChannelBySlug(channelSlug)
findChannelImage(channelObject)
findTrack(id)
findTracksByChannel(channelId)
createBackup(channelSlug)
import
or require
Install the module.
yarn add radio4000-sdk
Then, import the methods you need:
// ES Modules
import { findChannel, findChannelBySlug } from 'radio4000-sdk'
// Node.js/CommonJS
const { findChannel, findTracks } = require('radio4000-sdk')
<script>
For browsers you can do this. It will add a radio4000Sdk
global
<script src="radio4000-sdk.js"></script>
<script>
radio4000Sdk.findChannelBySlug('detecteve')
.then(channel => {
console.log(channel.title)
})
</script>
Clone the repo, npm install and npm test. There is no start because this is a library.
FAQs
> Helpers to fetch data via REST API from the Radio4000 Firebase database
The npm package radio4000-sdk receives a total of 0 weekly downloads. As such, radio4000-sdk popularity was classified as not popular.
We found that radio4000-sdk 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’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.