Socket
Book a DemoInstallSign in
Socket

snipe-it.js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snipe-it.js

snipe-it.js

latest
Source
npmnpm
Version
1.5.1
Version published
Maintainers
1
Created
Source

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

Keywords

snipe-it

FAQs

Package last updated on 22 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts