Skip to content

Commit adbba4c

Browse files
📚 docs(README): Fix typo in description, add parent link and code sample.
1 parent 10ab292 commit adbba4c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
:izakaya_lantern: [@data-structure-algebra/singly-linked-list](https://data-structure-algebra.github.io/singly-linked-list)
22
==
33

4-
Singly linked list for JavaScript.
4+
Singly linked lists for JavaScript.
55
See [docs](https://data-structure-algebra.github.io/singly-linked-list/index.html).
6+
Parent is [js-data-structures](https://github.com/make-github-pseudonymous-again/js-data-structures).
67

78
> :warning: Depending on your environment, the code may require
89
> `regeneratorRuntime` to be defined, for instance by importing
910
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).
1011
12+
```js
13+
import {from} from '@data-structure-algebra/singly-linked-list';
14+
let list = from('abc');
15+
```
16+
1117
[![License](https://img.shields.io/github/license/data-structure-algebra/singly-linked-list.svg)](https://raw.githubusercontent.com/data-structure-algebra/singly-linked-list/main/LICENSE)
1218
[![Version](https://img.shields.io/npm/v/@data-structure-algebra/singly-linked-list.svg)](https://www.npmjs.org/package/@data-structure-algebra/singly-linked-list)
1319
[![Tests](https://img.shields.io/github/workflow/status/data-structure-algebra/singly-linked-list/ci:test?event=push&label=tests)](https://github.com/data-structure-algebra/singly-linked-list/actions/workflows/ci:test.yml?query=branch:main)

0 commit comments

Comments
 (0)