Skip to content

Commit f33b471

Browse files
📚 docs(README): Add code sample.
1 parent 8246b55 commit f33b471

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
Language operator functions for JavaScript.
66
See [docs](https://functional-abstraction.github.io/operator/index.html).
77

8+
```js
9+
import {len} from '@functional-abstraction/operator';
10+
len('abc'); // 3
11+
```
12+
813
[![License](https://img.shields.io/github/license/functional-abstraction/operator.svg)](https://raw.githubusercontent.com/functional-abstraction/operator/main/LICENSE)
914
[![Version](https://img.shields.io/npm/v/@functional-abstraction/operator.svg)](https://www.npmjs.org/package/@functional-abstraction/operator)
1015
[![Tests](https://img.shields.io/github/workflow/status/functional-abstraction/operator/ci:test?event=push&label=tests)](https://github.com/functional-abstraction/operator/actions/workflows/ci:test.yml?query=branch:main)

0 commit comments

Comments
 (0)