New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

siftninja

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

siftninja

[Sift Ninja](https://www.siftninja.com/) is a powerful yet simple software service that automatically moderates and filters content.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
5
-28.57%
Maintainers
1
Weekly downloads
 
Created
Source

siftninja.js

Sift Ninja is a powerful yet simple software service that automatically moderates and filters content.

This module is a simple module that can be used to call the Sift Ninja API from your node apps, filtering for live chat, social networks, gaming, web comments and more.

Install

From npm:

npm install siftninja

Usage

If you haven't created a siftninja.com account yet, you can create one at https://www.siftninja.com

Once created, you can perform checks by calling the API:

var siftninja = require('siftninja')('<your-siftninja-url>','<your-siftninja-apikey');
siftninja('Phase to test').then(function(result) {
	var result = result.body;
	if( result.response ){
		console.log("we are ok");
	}else{
		console.log("this failed with a score of " + result.tags.vulgar );
	}
});

I wanted to keep this function as simple as possible so that it can be built on and expanded as quickly as needed.

Disclaimer

I have no relationship with Sift Ninja, they make a great product that deserves to be put to use anywhere it can be so I made this module for that purpose. For issues related to this module, please open an issue in the repo, for issues with Sift Ninja's API, please contact them.

FAQs

Package last updated on 29 Oct 2016

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