Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@abcnews/base-36-props
Advanced tools
Tools for encoding / decoding JavaScript objects to / from base36 strings
Tools for encoding / decoding JavaScript objects to / from base36 strings.
Install globally with npm i -g @abcnews/base-36-props
to use the b36p
executable, or use npx:
npx @abcnews/base-36-props encode '{ x: [true, 1, "1", null] }'
> 3zo7wx3dtlini74hp4rl9mo1n8ns65v1mkcd
npx @abcnews/base-36-props decode 3zo7wx3dtlini74hp4rl9mo1n8ns65v1mkcd
> { x: [true, 1, '1', null] }
npm i @abcnews/base-36-props
import { encode, decode } from '@abcnews/base-36-props';
encode({ x: [true, 1, '1', null] });
// > 3zo7wx3dtlini74hp4rl9mo1n8ns65v1mkcd
decode('3zo7wx3dtlini74hp4rl9mo1n8ns65v1mkcd');
// > { x: [ true, 1, '1', null ] }
A browser usage example is included with this project. To try it:
git clone https://github.com/abcnews/base-36-props
cd base-36-props
npm run example
...then open the console in the browser window that opens, and try out b36p.encode()
and b36p.decode()
.
A standalone web-based converter is also available here.
FAQs
Tools for encoding / decoding JavaScript objects to / from base36 strings
The npm package @abcnews/base-36-props receives a total of 10 weekly downloads. As such, @abcnews/base-36-props popularity was classified as not popular.
We found that @abcnews/base-36-props demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.