Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anastasia-a-zhivaeva/grokking-algorithms
Algorithms and tasks from the book Grokking Algorithms A. Y. Bhargava
https://github.com/anastasia-a-zhivaeva/grokking-algorithms
algorithms coverage nodejs npm-package webpack
Last synced: 26 days ago
JSON representation
Algorithms and tasks from the book Grokking Algorithms A. Y. Bhargava
- Host: GitHub
- URL: https://github.com/anastasia-a-zhivaeva/grokking-algorithms
- Owner: anastasia-a-zhivaeva
- License: mit
- Created: 2020-01-02T15:19:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T05:34:18.000Z (over 1 year ago)
- Last Synced: 2024-09-30T10:23:42.943Z (about 1 month ago)
- Topics: algorithms, coverage, nodejs, npm-package, webpack
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@anastasia-a-zhivaeva/grokking-algorithms
- Size: 883 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Algorithms and tasks from the book Grokking Algorithms A. Y. Bhargava
| Statements | Branches | Functions | Lines |
| --------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| ![Statements](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) | ![Branches](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) | ![Functions](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) | ![Lines](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) |#### This repository contains
- Several algorithms described in the book Grokking Algorithms A. Y. Bhargava
- Tests of this algorithms using Jest
- CircleCI config for linting, testing and publishing to npm#### Install package
```yaml
npm i @anastasia-a-zhivaeva/grokking-algorithms
```#### Use package
```yaml
import { binarySearch, selectionSort } from '@anastasia-a-zhivaeva/grokking-algorigthms';binarySearch([1, 2, 3], 3);
selectionSort([1, 2, 3]);
```### Commands
- start: build application for local development
- build: build app with webpack
- prepublishOnly: build app with webpack and generate types
- postversion: push code after publishing
- lint: lint with eslint
- test: test with jest
- coverage: add coverage badges to README