# asos

> Official language of ASOS

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

## Install

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

## 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.4 |
| Published | 2020-12-30 |
| First published | 2020-12-27 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12.0.0 |
| Dependencies | 9 |
| Unpacked size | 2 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ASOS DEVELOPER |
| Maintainers | asosdeveloper |
| Keywords | discord, api, bot, client, node, discordapp |

## Links

- npm: https://www.npmjs.com/package/asos
- Repository: https://github.com/asos-a/asos-package
- Homepage: https://github.com/asos-a/asos-package#readme
- Issues: https://github.com/asos-a/asos-package/issues
- npm.io page: https://npm.io/package/asos

## Dependencies (9)

- [ws](https://npm.io/package/ws.md) ^7.3.1
- [tweetnacl](https://npm.io/package/tweetnacl.md) ^1.0.3
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [prism-media](https://npm.io/package/prism-media.md) ^1.2.2
- [setimmediate](https://npm.io/package/setimmediate.md) ^1.0.5
- [terminal-kit](https://npm.io/package/terminal-kit.md) ^1.44.3
- [abort-controller](https://npm.io/package/abort-controller.md) ^3.0.0
- [@discordjs/form-data](https://npm.io/package/@discordjs/form-data.md) ^3.0.1
- [@discordjs/collection](https://npm.io/package/@discordjs/collection.md) ^0.1.6

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.1.4 (latest) — 2020-12-30
- 1.1.3 — 2020-12-30
- 1.1.2 — 2020-12-30
- 1.1.1 — 2020-12-29
- 1.1.0 — 2020-12-29
- 1.0.9 — 2020-12-29
- 1.0.8 — 2020-12-29
- 1.0.7 — 2020-12-29
- 1.0.6 — 2020-12-29
- 1.0.5 — 2020-12-29
- 1.0.2 — 2020-12-27
- 1.0.0 — 2020-12-27

## README

# Welcome 
This is official version of asos language
## Installion
```$ npm i asos```
## Start
You need:
- A discord account
- A server
- A token bot

Now, use this command to create a ```package.json``` file:
```$ npm init```

Create a file name ```index.js```, now, use this code:
```js
const Asos = require('asos-new') // or you can use asos when you have error "Cannot find module:'asos-new'"
const client = new Asos.Client();

client.on('message', msg => {
    if (msg.content === 'ping') {
      msg.channel.send('Ping!')
  .then((msg)=> {
    setTimeout(function(){
      msg.edit(`🏓Pong!!!The latency is ${Date.now() - message.createdTimestamp}ms. API Latency is ${Math.round(client.ws.ping)}ms`);
    }, 500)
  }); 
}
    }
  });

client.login('your bot token')
```
Now, using this command to switch on the bot:
``` $ node . ```
Congratulation, you made a bot!!!

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