# anyside

> Anyside Node Api

Latest version **1.0.18** (published 2022-12-12) · ISC license · 0 weekly downloads

## Install

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

## 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.18 |
| Published | 2022-12-12 |
| First published | 2022-09-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anyside |
| Maintainers | anyside |
| Keywords | Node, anyside |

## Links

- npm: https://www.npmjs.com/package/anyside
- Repository: https://github.com/Anyside-Api/Anyside-Node.js-API
- Homepage: https://www.anyside.com
- Issues: https://github.com/Anyside-Api/Anyside-Node.js-API/issues
- npm.io page: https://npm.io/package/anyside

## Dependencies (1)

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

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.18 (latest) — 2022-12-12
- 1.0.17 — 2022-12-05
- 1.0.16 — 2022-12-05
- 1.0.15 — 2022-12-05
- 1.0.14 — 2022-12-05
- 1.0.13 — 2022-12-05
- 1.0.12 — 2022-12-05
- 1.0.11 — 2022-12-05
- 1.0.10 — 2022-12-05
- 1.0.9 — 2022-12-05
- 1.0.8 — 2022-11-29
- 1.0.7 — 2022-11-29
- 1.0.6 — 2022-11-14
- 1.0.5 — 2022-11-14
- 1.0.4 — 2022-11-14
- … 4 more at https://npm.io/package/anyside/versions

## README

# Anyside Node.js API

Welcome to the Anyside Node.js API!<br />
[Python API](https://github.com/Anyside-Api/Anyside-Python-API)

In order to use the Anyside API you will need an API key. You can get your API key by creating an account on [anyside.com](https://anyside.com/).

## Installation

### Package manager

To install the Node.js API and get started you can simply npm install anyside into your project.

```ssh
$ npm install anyside
```

Using yarn:

```ssh
$ yarn add anyside
```

Using pnpm:

```ssh
$ pnpm add anyside
```

Once the package is installed, you can import the library using `import` or `require` approach:

```javascript
import Anyside from "anyside";

let anyside = new Anyside("YOUR API KEY");
```

If you use `require` for importing, **only default export is available**:

```javascript
const Anyside = require("anyside");

let anyside = new Anyside("YOUR API KEY");
```

For cases where something went wrong when trying to import a module into a custom or legacy environment,
you can try importing the module package directly:

```javascript
const Anyside = require("node_modules/anyside/anyside.js"); // node commonJS bundle (ES2017)
```

### CDN

Using jsDelivr CDN (ES5 UMD browser module):

```html
<script
  src="https://cdn.jsdelivr.net/npm/axios@1.1.2/dist/axios.min.js"
  type="module"
></script>
<script src="https://cdn.jsdelivr.net/npm/anyside@1.0.18/anyside.js"></script>
```

Using unpkg CDN:

```html
<script
  src="https://cdn.jsdelivr.net/npm/axios@1.1.2/dist/axios.min.js"
  type="module"
></script>
<script src="https://unpkg.com/anyside@1.0.18/anyside.js"></script>
```

## Example Query Domain

When making a request must pass a anyside domain name.

Response will contain wallest connected with anyside

```javascript
const Anyside = require('anyside');

let anyside  = new Anyside('YOUR API KEY');

(async () => {
    let response = await anyside.queryDomain('QUERY DOMAIN NAME Eg. John.any');
    console.log(response)
})();


"""
#Response Example:
{'Bitcoin': [{'address': '0xBTC-SOMESTUFF', 'name': 'Bitcoin'}],
 'Solana': [{'address': '0x...', 'name': 'Solana'}]}
"""
```

## Example Wallet lookup

When making a request must pass a vaild wallet address.

Response will contain anyside domain

```javascript
const {Anyside} = require('anyside');

let anyside  = new Anyside('YOUR API KEY');

(async () => {
    let response = await anyside.lookupWallet('WALLET ADDRESS');
    console.log(response)
})();

"""
#Response Example:
{'domain': 'John.any'}
"""
```

Please subscribe on [Anyside](https://anyside.com/) to receive project updates.
You can aslo follow us on [Twitter](https://twitter.com/AnysideNames) and [Discord](https://discord.com/invite/MKDBhDEtUn).

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