1.0.0 • Published 3 years ago
odd-trimmer v1.0.0
odd-trimer
Table of Contents
About
Creates summeries from long sentences
Getting Started
import the package and simply use
import oddTrimmer from 'odd-trimmer';
const newSentence =
'This is an example string to be summerized and cut into ten pieces by the trimmer';
const summerizedSentence = oddTrimmer(newSentence, 'short');
consoloe.log(summerizedSentence); // This is an example string to be summerized and cut...Prerequisites
What things you need to install the software and how to install them.
npm or yarn
nodeInstalling
A step by step series of examples that tell you how to get a development env running.
Say what the step will be
npm install odd-trimmerWith Yarn
yarn add odd-trimmerEnd with an example of getting some data out of the system or using it for a little demo.
Usage
import the package and simply use
import oddTrimmer from 'odd-trimmer';
const newSentence =
'This is an example string to be summerized and cut into ten pieces by the trimmer';
const summerizedSentence = oddTrimmer(newSentence, 'short');
consoloe.log(summerizedSentence); // This is an example string to be summerized and cut...1.0.0
3 years ago