0.8.0 • Published 5 years ago
@textstat/to-non-cyclic v0.8.0
@textstat/to-non-cyclic
Convert node list to non-cyclic node list.
Install
Install with npm:
npm install @textstat/to-non-cyclic
Usage
import { toNonCyclic } from "@textstat/to-non-cyclic"
/**
* Convert link node list to non-cyclic node list
* If the node is cyclic, Add "[Cyclic]*" suffix to node's target
* @param linkNodes
*/
export function toNonCyclic<T extends LinkNode>(linkNodes: T[]): T[];
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test
:
npm i -d && npm test
Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
License
MIT © azu
0.8.0
5 years ago