npm.io
5.0.0 • Published 2 years ago

onedionys-text-parsing-utilities

Licence
ISC
Version
5.0.0
Deps
132
Size
12 kB
Vulns
0
Weekly
0
Stars
9

Welcome to One Dionys - Text Parsing Utilities!

Functions for parsing text or HTML documents, useful in text or data processing.

Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

How To Use

Example Syntax
const { parseText } = require('text-parsing-utils');

const text = 'This is a sample text. It has multiple sentences! And some words.';
const parsedInfo = parseText(text);

console.log(parsedInfo);
// Output: { wordCount: 11, characters: 56, sentences: 3 }
Explanation
  • wordCount: Number of words in the text.
  • characters: Number of characters in the text.
  • sentences: Number of sentences in the text.
Return Value
  • The function returns an object containing the parsed information.

Release Date

  • v1.0.0 : 08 March 2024
  • v1.0.1 : 11 March 2024
  • v4.0.0 : 11 March 2024
  • v4.0.1 : 13 March 2024
  • v4.0.2 : 18 March 2024
  • v5.0.0 : 31 March 2024

Author

License

  • Copyright 2024 One Dionys
  • One Dionys - Text Parsing Utilities is an open source project licensed under the MIT license

Suppport & Donation

Love One Dionys - Text Parsing Utilities? Support this project by donating or sharing with others in need.

Made with One Dionys

Keywords