Skip to content

dawgjs 0.0.2

Install from the command line:
Learn more about npm packages
$ npm install @daangn/dawgjs@0.0.2
Install via package.json:
"@daangn/dawgjs": "0.0.2"

About this version

Dawgjs

DAWG의 golang 구현체에서 영감을 받아 Typescript로 작성한 DAWG 패키지

사용 예시

import dwag from '@daangn/dawgjs'

const wg = createDawg(['롯데리아', '스타벅스', '당근마켓']);
wg.getLongestPrefix('롯데리아 강남역점') // => "롯데리아"
wg.getLongestPrefix('맥도날드') // => undefined
wg.has('당근마켓') // => true

Details


Assets

  • dawgjs-0.0.2-npm.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0