Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 622 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 622 Bytes

2ch-trip

2ch compatible trip generator

Install

npm install 2ch-trip

or

yarn add 2ch-trip

Usage

import { createTrip } from '2ch-trip'

// 10 digits trip
createTrip('#Jim') // -> ' ◆ziib4d/boU'
createTrip('#ひろゆき') // -> ' ◆F7aSjnRHGU'

// 12 digits trip
createTrip('#N.T.Technology') // -> ' ◆FG0WWassNUrw'
createTrip('#パケットモンスター') // -> ' ◆EZSPRAHOnqfS'

// Raw key trip
createTrip('##57414b5554454b41') // -> ' ◆sWERuZlbhs'
createTrip('#$4d45534849554d41') // -> ' ◆???'

Author

@p-chan

LICENSE

MIT