npm install @axetroy/transform
or if you are using yarn(recommend)
yarn add @axetroy/transform
import transform from '@axetroy/transform';
test('simple', t => {
const src = 'hello world ';
const result = transform(src)
.pipe(uppercase)
.pipe(trim)
.pipe(removeSpace)
.value();
t.deepEqual(result, 'HELLOWORLD');
});
git clone https://github.com/axetroy/transform.git
cd ./transform.js
yarn
yarn run test
git clone https://github.com/axetroy/transform.git
cd ./transform.js
yarn
yarn run test
You can flow Contribute Guide
Axetroy 💻 🔌 |
---|
The MIT License