Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wbhob/node-sort
https://github.com/wbhob/node-sort
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wbhob/node-sort
- Owner: wbhob
- License: mit
- Created: 2019-04-13T18:32:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T18:45:06.000Z (almost 6 years ago)
- Last Synced: 2024-12-01T13:48:57.708Z (2 months ago)
- Language: TypeScript
- Size: 124 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-sort
This repository contains a bunch of sorting algorithms writting in TypeScript. It's a fun little side project to keep my understanding of sorts sharp, and to help others learn how various sorting algorithms work.
## Usage
```typescript
import { mergeSort } from 'node-sort'mergeSort([1, 5, 2, 7, 4, 3, 67, 4])
```## Contributing
If you want to contribute your own sorting algorithm, implement it in TypeScript in the `src/` directory. Add a test file in `__tests__/` to make sure it works properly – you can just copy one of the other testing files and substitute in your sorting algorithm.
## License
This project is licensed under the [MIT License](./LICENSE), so you're free to use it as you please with attribution and a link back to this project (though writing your own implementation would not be terribly difficult).
## Credits
Written by Wilson Hobbs, 2019.