dawgjs
/
0.0.1
dawgjs 0.0.1
Install from the command line:
Learn more about npm packages
$ npm install @daangn/dawgjs@0.0.1
Install via package.json:
"@daangn/dawgjs": "0.0.1"
About this version
DAWG의 golang 구현체에서 영감을 받아 Typescript로 작성한 DAWG 패키지
import dwag from '@daangn/dawgjs'
const wg = createDawg(['롯데리아', '스타벅스', '당근마켓']);
wg.getLongestPrefix('롯데리아 강남역점') // => "롯데리아"
wg.getLongestPrefix('맥도날드') // => undefined
wg.has('당근마켓') // => true
Assets
- dawgjs-0.0.1-npm.tgz
Download activity
- Total downloads 1
- Last 30 days 0
- Last week 0
- Today 0