npm

Need private packages and team management tools?Check out npm Orgs. »

occurence_zuoqin

1.0.2 • Public • Published

Occurence

1. what is it?

Occurence is a library to find the occurence of all the words in a given text.

  • it will ignore words whose length is less than 3.
  • it will filter away punctuations like #,«,»,’,? etc.

2. intallation?

npm install occurence_zuoqin --save

3. how to use it?

import Occurence from "occurence_zuoqin";
let text = `Hello, hello HEllo ? 
  {hello} "hello \hello" -hello *hello
  `;
let result = Occurence(text); // output: { hello: 8 }

Keywords

install

npm i occurence_zuoqin

Downloadsweekly downloads

6

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability