Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastify-feature-flags

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-feature-flags - npm Package Compare versions

Comparing version 1.2.0 to 1.2.2

8

CHANGELOG.md

@@ -5,2 +5,10 @@ # Change Log

## [1.2.2](https://gitlab.com/m03geek/fastify-feature-flags/compare/v1.2.1...v1.2.2) (2019-04-26)
## [1.2.1](https://gitlab.com/m03geek/fastify-feature-flags/compare/v1.2.0...v1.2.1) (2019-04-26)
# [1.2.0](https://gitlab.com/m03geek/fastify-feature-flags/compare/v1.1.0...v1.2.0) (2019-04-26)

@@ -7,0 +15,0 @@

2

package.json
{
"name": "fastify-feature-flags",
"version": "1.2.0",
"version": "1.2.2",
"description": "Fastify feature flags plugin",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -94,2 +94,3 @@ # fastify-feature-flags

```js
const ConfigProvider = require('fastify-feature-flags/dist/providers/config');
const provider = new ConfigProvider({

@@ -116,2 +117,3 @@ prefix: 'features',

```js
const EnvProvider = require('fastify-feature-flags/dist/providers/env');
const provider = new EnvProvider({

@@ -132,5 +134,6 @@ prefix: 'FEATURE_',

```js
const UnleashProvider = require('fastify-feature-flags/dist/providers/unleash');
const provider = new UnleashProvider({
appName: 'my-fastify-app';
url: 'https://unleash.example.com';
appName: 'my-fastify-app',
url: 'https://unleash.example.com/api',
})

@@ -137,0 +140,0 @@ ```

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