An open API service indexing awesome lists of open source software.

https://github.com/elhakimdev/typescript-abstract-data-type

A basic datastructure & abstract data type implementation with Typescript
https://github.com/elhakimdev/typescript-abstract-data-type

absraction algorithms data-structures typescript

Last synced: 2 months ago
JSON representation

A basic datastructure & abstract data type implementation with Typescript

Awesome Lists containing this project

README

          

# typescript-adt

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![Codecov][codecov-src]][codecov-href]

Experimental abstraction of data structure utils for javascript (browsser/nodejs)

## Usage

Install package:

```sh
# npm
npm install typescript-adt

# yarn
yarn add typescript-adt

# pnpm
pnpm install typescript-adt

# bun
bun install typescript-adt
```

Import:

```js
// ESM
import {} from "typescript-adt";

// CommonJS
const {} = require("typescript-adt");
```

## Development

- Clone this repository
- Install latest LTS version of [Node.js](https://nodejs.org/en/)
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
- Install dependencies using `pnpm install`
- Run interactive tests using `pnpm dev`

## License

Made with 💛

Published under [MIT License](./LICENSE).

[npm-version-src]: https://img.shields.io/npm/v/typescript-adt?style=flat&colorA=18181B&colorB=F0DB4F
[npm-version-href]: https://npmjs.com/package/typescript-adt
[npm-downloads-src]: https://img.shields.io/npm/dm/typescript-adt?style=flat&colorA=18181B&colorB=F0DB4F
[npm-downloads-href]: https://npmjs.com/package/typescript-adt
[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/typescript-adt/main?style=flat&colorA=18181B&colorB=F0DB4F
[codecov-href]: https://app.codecov.io/github/elhakimdev/typescript-abstract-data-type
[bundle-src]: https://img.shields.io/bundlephobia/minzip/typescript-adt?style=flat&colorA=18181B&colorB=F0DB4F
[bundle-href]: https://bundlephobia.com/result?p=typescript-adt