New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

flaggr

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

flaggr

Flagging features

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Flaggr - Not ready for production yet....

Flagger

Methods

Boolean

flaggr.enable(feature, next)
flaggr.disable(feature, next)
flaggr.isEnabled(feature, next)

Groups

 // Values will be called on members using https://lodash.com/docs#get.
 // If key is a function when called checking for enabled or not it will be called with no arguments
flaggr.registerGroup (feature, groupName, key, value, next)
flaggr.enableGroup(feature, groupName, next)
flaggr.disableGroup(feature, groupName, next)
flaggr.isEnabled(feature, opts, next) // option should be { group: groupName, groupMember }
flaggr.isEnabledForUser(feature, groupName, groupMember, next)
Actor. Must respond to id
flaggr.enableUser(feature, user, next)
flaggr.disableUser(feature, user, next)
flaggr.isEnabled(feature, opts, next) // option should be { user: user }
flaggr.isEnabledForUser(feature, user, next)

Adapters

  • Memory (testing moslty)

Coming Soon

Better documentation

  • Flaggr-UI
Percentage User
flaggr.enablePercentageActors(feature, percentage, next)
flaggr.disablePercentageActors(feature, next)
flaggr.isEnabled(feature, opts, next) // option should be { percentageUser: user}
Percentage Time
flaggr.enablePercentageTime(feature, percentage, next)
flaggr.disablePercentageTime(feature, next)
flaggr.isEnabled(feature, opts, next) //options should be { percentageTime: time}

Adapters

  • Redis

Keywords

FAQs

Package last updated on 21 Apr 2015

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc