# @textstat/to-non-cyclic

> Convert node list to non-cyclic node list.

Latest version **0.8.0** (published 2018-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @textstat/to-non-cyclic
pnpm add @textstat/to-non-cyclic
yarn add @textstat/to-non-cyclic
bun add @textstat/to-non-cyclic
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.8.0 |
| Published | 2018-12-18 |
| First published | 2018-12-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | azu |
| Maintainers | azu |
| Keywords | util |

## Links

- npm: https://www.npmjs.com/package/@textstat/to-non-cyclic
- Repository: https://github.com/textlint/textstat
- Homepage: https://github.com/textlint/textstat/tree/master/packages/@textstat/to-non-cyclic/
- Issues: https://github.com/textlint/textstat/issues
- npm.io page: https://npm.io/package/@textstat/to-non-cyclic

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 0.8.0 (latest) — 2018-12-18

## README

# @textstat/to-non-cyclic

Convert node list to non-cyclic node list.

## Install

Install with [npm](https://www.npmjs.com/):

    npm install @textstat/to-non-cyclic

## Usage

```ts
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](https://github.com/textlint/textstat/releases).

## 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](https://github.com/textlint/textstat/issues).

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## Author

- [github/azu](https://github.com/azu)
- [twitter/azu_re](https://twitter.com/azu_re)

## License

MIT © azu

---
_Source: https://npm.io/package/@textstat/to-non-cyclic · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
