snipe-it.js
TypeScript icon, indicating that this package has built-in type declarations

1.5.1 • Public • Published

snipe-it.js

npm GitHub Donate

Typescript/Node.JS API wrapper for Snipe-IT

Installation

yarn install snipe-it.js

Make sure to replace SNIPE_URL and API_TOKEN in this example

const { Snipe } = require('snipe-it.js');

const snipe = new Snipe(SNIPE_URL, API_TOKEN);

async function func() {
  const data = await snipe.hardware.get({
    limit: 50
  });
  console.log(data);
}

func();

Documentation is located here

Package Sidebar

Install

npm i snipe-it.js

Weekly Downloads

0

Version

1.5.1

License

GPL-3.0

Unpacked Size

89 kB

Total Files

64

Last publish

Collaborators

  • stingalleman