Get started with pipes-core CDN
MIT licensed
Pipes-core is a library for composable, reusable, and declarative data pipelines.
Tags:- streams
- pipesjs
- utils
Stable version
Copied!
How to start using pipes-core CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with pipes-core CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/pipes-core/0.8.4/pipes.core.min.js"></script>
</head>
<body>
<script>
const input = 'hello|map:ucFirst|filter:isString|join:(" ")';
const pipe = p => p.pipe(pipes => [
pipes.map(x => x.toUpperCase()),
pipes.filter(x => typeof x === 'string'),
pipes.join(' ')
]);
const output = pipe(input.split('|'));
console.log(output); // H E L L O S T R I N G
</script>
</body>
</html>
Copied!
Copied!