Socket
Socket
Sign inDemoInstall

levels-filter

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    levels-filter

A function factory for creating a levels effect


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
7.17 kB
Created
Weekly downloads
 

Readme

Source

levels-filter

A module for creating level filters.

Usage

var levels = require('levels-filter'); var levelsInstance = levels(); levelsInstance.outputBlack = 100; levelsInstance.gamma = 1.5; var table = levelsInstance.getTableValues()

Properties

  • inputBlack
  • outputBlack
  • gamma
  • outputBlack
  • inputBlack

Methods

  • setLevelValues: accepts an object with one or more of the level properties
  • getLevelValues: returns an object with the level properties
  • reset: resets all properties to default values
  • getTableValues: returns the table values

FAQs

Last updated on 22 Jan 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc