2ch-trip

Generator for unique signature like as 2ch.

Usage no npm install needed!

<script type="module">
  import chTrip from 'https://cdn.skypack.dev/2ch-trip';
</script>

README

2ch-trip

Generator for unique signature like as 2ch.

Install

$ npm install 2ch-trip

Usage

var genTrip = require('2ch-trip');
var trip = '';

// 10 digit trip
trip = genTrip('#github');
console.log(trip); // ◆lLf/rxkwgg

// 12 digit trip
trip = genTrip('#github-octcat');
console.log(trip); // ◆8JhbOfVQsqBv

// Raw key
trip = genTrip('##A49DD9649F6425CB');
console.log(trip); // ◆Rin/SM.o.6

Library

Author

@p1ch_jp

License

MIT