# leeter

> [![License: Apache 2.0](https://camo.githubusercontent.com/8cb994f6c4a156c623fe057fccd7fb7d7d2e8c9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322d3445423142412e737667)](https://www.apache.org/licenses/LICE

Latest version **1.1.0** (published 2021-10-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install leeter
pnpm add leeter
yarn add leeter
bun add leeter
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2021-10-22 |
| First published | 2021-10-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 3 |
| Unpacked size | 27.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | linbuxiao |
| Keywords | leetcode, api |

## Links

- npm: https://www.npmjs.com/package/leeter
- Repository: https://github.com/linbuxiao/leeter
- Issues: https://github.com/linbuxiao/leeter/issues
- npm.io page: https://npm.io/package/leeter

## Dependencies (3)

- [got](https://npm.io/package/got.md) ^11.8.2
- [dayjs](https://npm.io/package/dayjs.md) ^1.10.7
- [type-fest](https://npm.io/package/type-fest.md) ^2.5.1

## Recent versions

- 1.1.0 (latest) — 2021-10-22
- 1.0.7 — 2021-10-21
- 1.0.6 — 2021-10-21
- 1.0.5 — 2021-10-18
- 1.0.4 — 2021-10-16
- 1.0.3 — 2021-10-16
- 1.0.2 — 2021-10-16
- 1.0.1 — 2021-10-16

## README

## leeter

[![License: Apache 2.0](https://camo.githubusercontent.com/8cb994f6c4a156c623fe057fccd7fb7d7d2e8c9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322d3445423142412e737667)](https://www.apache.org/licenses/LICENSE-2.0.html)
![coverage](https://img.shields.io/badge/coverage-92-success)

leeter is a project that provides an interface to the node.js environment for the leetcode api. Its initial goal is to provide a stable way for leetcode application development, so that we can learn algorithms more easily. It will provide leetcode user login, algorithm list, algorithm details, comments, solution and discussion api, etc.

## Getting Started

### Installation
To use leeter in your project, run:

```bash
npm i leeter
# or "yarn add leeter"
```

### Usage
**Example** - Initialize Leet instance and get data:

Save file as **example.js**

```js
import { leetMaker } from 'leeter'

const leet = leetMaker({ cookie: '<YOUR_COOKIE>' })

const questionList = await leet.problemsetQuestionList()
```

Execute script on the command line

```bash
node example.js
```

You will be provided with question set data.

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