Skip to content

Transform data in a easy way by Function Program.

License

Notifications You must be signed in to change notification settings

axetroy/transform

Repository files navigation

Transform

Greenkeeper badge

Installation

npm install @axetroy/transform

or if you are using yarn(recommend)

yarn add @axetroy/transform

Usage

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');
});

Test

git clone https://github.com/axetroy/transform.git
cd ./transform.js
yarn
yarn run test

Contributing

git clone https://github.com/axetroy/transform.git
cd ./transform.js
yarn
yarn run test

You can flow Contribute Guide

Contributors


Axetroy

💻 🔌 ⚠️ 🐛 🎨

License

The MIT License

About

Transform data in a easy way by Function Program.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published