Package Exports
- odd-trimmer
- odd-trimmer/src/trimmer.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (odd-trimmer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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...