Skip to content

DrBrad/BencodeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BencodeJS

This is an implementation of Bencode for JavaScript. Bencode is used for DHTs, Torrents, and Google DataServers. Its a lightweight fast data serialization. Wikipedia

I have also made an implementation of Bencode with Java, Rust and PHP.

Usage

Here are some examples of how to use the Bencode library.

Bencode

//DATA MUST BE IN THE FORMAT: Uint8Array
var ben = new Bencode(data).decode();
console.log(ben);

About

A Bencode library for JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published