0.1.1 • Published 11 months ago

snips-sh v0.1.1

Weekly downloads
-
License
CC0-1.0
Repository
github
Last release
11 months ago

snips-sh

npm

Wrapper for communicating with snips.sh in Node.js

Getting Started

Install the package!

npm i -E snips-sh

Upload a snip!

import { Snips } from "snips-sh";

const client = new Snips();

// Optional, `upload` will call this implicitly during an instance's first upload if a key isn't provided in the constructor.
const { privateKey } = await client.setup();

const { id, url } = await client.upload("Some content to upload!");
0.1.1

11 months ago

0.1.0

11 months ago

1.0.0

11 months ago