Skip to content

Jaspooky/snips-sh

Repository files navigation

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!");

About

Wrapper for communicating with https://snips.sh in Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published