2.0.0 • Published 4 years ago

octokit-plugin-hello-world v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

octokit-plugin-hello-world

Simple Octokit.js plugin for demo purposes

@latest Build Status Greenkeeper

Usage

Load octokit-plugin-hello-world and @octokit/core (Or others such as @octokit/rest) directly from cdn.pika.dev

<script type="module">
  import { Octokit } from "https://cdn.pika.dev/@octokit/core";
  import { helloWorld } from "https://cdn.pika.dev/octokit-plugin-hello-world";
</script>

Install with npm install octokit-plugin-hello-world

const { Octokit } = require("@octokit/core");
const { helloWorld } = require("octokit-plugin-hello-world");
const MyOctokit = Octokit.plugin(helloWorld);

const octokit = new MyOctokit();
octokit.helloWorld();
// logs "Hello, world!

See @octoki/core for available APIs to create more advanced plugins.

License

MIT

2.0.0

4 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago