# v-spot

> Spot for v

Latest version **1.2.1** (published 2017-12-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install v-spot
pnpm add v-spot
yarn add v-spot
bun add v-spot
```

## 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.2.1 |
| Published | 2017-12-11 |
| First published | 2017-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | okunishinishi |
| Maintainers | realglobe, okunishinishi |
| Keywords | the |

## Links

- npm: https://www.npmjs.com/package/v-spot
- Repository: https://github.com/realglobe-Inc/v-spot
- Homepage: https://github.com/realglobe-Inc/v-spot#readme
- Issues: https://github.com/realglobe-Inc/v-spot/issues
- npm.io page: https://npm.io/package/v-spot

## Dependencies (3)

- [uuid](https://npm.io/package/uuid.md) ^3.1.0
- [debug](https://npm.io/package/debug.md) ^3.1.0
- [asleep](https://npm.io/package/asleep.md) ^1.0.3

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 1.2.1 (latest) — 2017-12-11
- 1.2.0 — 2017-11-23
- 1.1.2 — 2017-11-22
- 1.1.1 — 2017-11-22
- 1.1.0 — 2017-11-22
- 1.0.1 — 2017-11-21
- 1.0.0 — 2017-11-21

## README

v-spot
==========

<!---
This file is generated by ape-tmpl. Do not update manually.
--->

<!-- Badge Start -->
<a name="badges"></a>

[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]

[bd_repo_url]: https://github.com/realglobe-Inc/v-spot
[bd_travis_url]: http://travis-ci.org/realglobe-Inc/v-spot
[bd_travis_shield_url]: http://img.shields.io/travis/realglobe-Inc/v-spot.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/realglobe-Inc/v-spot
[bd_travis_com_shield_url]: https://api.travis-ci.com/realglobe-Inc/v-spot.svg?token=
[bd_license_url]: https://github.com/realglobe-Inc/v-spot/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/realglobe-Inc/v-spot
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/realglobe-Inc/v-spot.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/realglobe-Inc/v-spot.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/realglobe-Inc/v-spot
[bd_gemnasium_shield_url]: https://gemnasium.com/realglobe-Inc/v-spot.svg
[bd_npm_url]: http://www.npmjs.org/package/v-spot
[bd_npm_shield_url]: http://img.shields.io/npm/v/v-spot.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg

<!-- Badge End -->


<!-- Description Start -->
<a name="description"></a>

Spot for v

<!-- Description End -->


<!-- Overview Start -->
<a name="overview"></a>



<!-- Overview End -->


<!-- Sections Start -->
<a name="sections"></a>

<!-- Section from "doc/guides/01.Installation.md.hbs" Start -->

<a name="section-doc-guides-01-installation-md"></a>

Installation
-----

```bash
$ npm install v-spot --save
```


<!-- Section from "doc/guides/01.Installation.md.hbs" End -->

<!-- Section from "doc/guides/02.Usage.md.hbs" Start -->

<a name="section-doc-guides-02-usage-md"></a>

Usage
---------

```javascript
'use strict'

const vSpot = require('v-spot')

async function tryExample () {
  const Spot = vSpot()

  const NewYork = vSpot.clinet()
  const Japan = vSpot.clinet()

  await Spot.listen()
  await NewYork.connect(Spot)
  await Japan.connect(Spot)

  {
    class Person {
      async hi (msg) {
        return `hi, ${msg}`
      }
    }

    // Create a instance to a spot
    const john = NewYork.load(Person, 'jp.realglobe.new-york.john')
    await john.hi('I am in NewYork!')
  }

  {
    // Use remote instance
    const john = await Japan.use('jp.realglobe.new-york.john')
    await john.hi('Calling from Japan!')
  }
}

tryExample().catch((err) => console.error(err))

```


<!-- Section from "doc/guides/02.Usage.md.hbs" End -->

<!-- Section from "doc/guides/10.API Guide.md.hbs" Start -->

<a name="section-doc-guides-10-a-p-i-guide-md"></a>

API Guide
-----

+ [v-spot@1.2.1](./doc/api/api.md)
  + [create(args)](./doc/api/api.md#v-spot-function-create)
  + [VSpot](./doc/api/api.md#v-spot-class)


<!-- Section from "doc/guides/10.API Guide.md.hbs" End -->


<!-- Sections Start -->


<!-- LICENSE Start -->
<a name="license"></a>

License
-------
This software is released under the [MIT License](https://github.com/realglobe-Inc/v-spot/blob/master/LICENSE).

<!-- LICENSE End -->


<!-- Links Start -->
<a name="links"></a>

Links
------

+ [v][v_url]
+ [Realglobe, Inc.][realglobe,_inc__url]

[v_url]: https://github.com/realglobe-Inc/v
[realglobe,_inc__url]: http://realglobe.jp

<!-- Links End -->

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