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 }

Readme

Keywords

Package Sidebar

Install

npm i occurence_zuoqin

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

18.5 kB

Total Files

8

Last publish

Collaborators

  • isabellahu