# nekocas

> NekoCAS SDK for Node

Latest version **1.0.6** (published 2020-12-25) ·  Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2020-12-25 |
| First published | 2020-12-22 |
| Weekly downloads | 0 |
| License |  Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Kevin |
| Maintainers | mugai |

## Links

- npm: https://www.npmjs.com/package/nekocas
- Repository: https://github.com/NekoWheel/NekoCAS_Node_SDK
- Homepage: https://github.com/NekoWheel/NekoCAS_Node_SDK#readme
- Issues: https://github.com/NekoWheel/NekoCAS_Node_SDK/issues
- npm.io page: https://npm.io/package/nekocas

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.21.0

## Recent versions

- 1.0.6 (latest) — 2020-12-25
- 1.0.5 — 2020-12-24
- 1.0.4 — 2020-12-24
- 1.0.3 — 2020-12-24
- 1.0.2 — 2020-12-23
- 1.0.1 — 2020-12-23
- 1.0.0 — 2020-12-22

## README

# NekoCAS_Node_SDK
NekoCAS SDK for Node

## Installation
```
npm install nekocas
```

## Begin to use
```javascript
var NekoCAS = require('nekocas');

// Input the NekoCAS URL and the service secret.
var cas = new NekoCAS("https://cas.n3ko.co", "1aa05ba333b469f580a0577b1a86a5af")

// Validate the ticket.
cas.validate("ST-YEQLkc9WQCDRoo7Io9lKPOZY5uyptzkY").then((data) => {
    console.log(`usertoken: ${data.token}`)
}).catch(console.log)
```

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