
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
bep53-range
Advanced tools
Also works in the browser with browserify! This module is used by WebTorrent.
npm install bep53-range
Parse Magnet URI extension (BEP53) range and return all included values.
import { parse } from 'bep53-range'
const range = ['1-3', '6', '11-13']
const values = parse(range)
console.log(values) // [1, 2, 3, 6, 11, 12, 13]
Compose Magnet URI extension (BEP53) range from all included values.
import { compose } from 'bep53-range'
const values = [1, 2, 3, 6, 11, 12, 13]
const range = compose(values)
console.log(range) // ['1-3', '6', '11-13']
MIT. Copyright (c) Julen Garcia Leunda and WebTorrent, LLC.
FAQs
Magnet URI extension (BEP53) range implementation
The npm package bep53-range receives a total of 18,058 weekly downloads. As such, bep53-range popularity was classified as popular.
We found that bep53-range demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.