
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
Library to encode and decode data in the Bencode format.
npm install bencodejs
const Bencode = require('bencodejs');
const pingQuery = {"t":"aa", "y":"q", "q":"ping", "a":{"id":"abcdefghij0123456789"}}
const bencodedObj = Bencode.encode(pingQuery);
d1:ad2:id20:abcdefghij0123456789e1:q4:ping1:t2:aa1:y1:qe
const exampleResponse = 'd1:rd2:id20:mnopqrstuvwxyz123456e1:t2:aa1:y1:re';
const obj = Bencode.decode(exampleResponse, 'ascii');
{ r: { id: 'mnopqrstuvwxyz123456' }, t: 'aa', y: 'r' }
BufferEncodes data in the bencoded format.
| Param | Type |
|---|---|
| obj | Object | Number | String | Array | Buffer |
Buffer | String | Number | Array | ObjectDecodes data encoded in the bencoded format.
| Param | Type |
|---|---|
| buf | Buffer |
| encoding | String |
FAQs
Library to encode and decode data in the Bencode format.
We found that bencodejs 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.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.