npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vwo-fme-github-action

v1.1.0

Published

Allows you to evaluate feature flags using the VWO platform via GitHub Action

Downloads

4

Readme

VWO FME GitHub Action

This GitHub Action allows you to evaluate feature flags using the VWO platform. Evaluating feature flags can be useful in CI/CD pipelines to dynamically enable/disable features or retrieve feature flag values during builds. Feature flag variables enable dynamic assignment of values based on the flag's configuration, helping to eliminate hardcoded values from the codebase.

Inputs

| Input Name | Description | Required | | -------------------- | ----------------------------------------------------------------- | ------------ | | flagsWithVariables | A JSON with the feature flag keys and their default values. | Yes | | userContext | The context of the user for which the flag needs to be evaluated. | Yes | | sdkInitOptions | Optional JSON configuration for initializing the VWO SDK. | No |

Outputs

| Output Name | Description | | --------------------- | -------------------------------------------------------------------------------------------------------------------------- | | flagKey | The status of the feature flag (true or false). Example: ${{ steps.vwo_action.outputs.flagKey }}. | | flagKey_variableKey | The value of the associated variable for the feature flag. Example: ${{ steps.vwo_action.outputs.flagKey_variableKey }}. |

Note: flagKey and flagKey_variableKey are dynamic placeholders. The actual key names will be replaced based on the feature flags you are working with. For example, if the feature flag is featureA, you would access its status as ${{ steps.vwo_action.outputs.featureA }} and a variable within that flag as ${{ steps.vwo_action.outputs.featureA_someVariableKey }}.

Environment Variables

| Environment Variable | Description | Required | | ------------------------ | ------------------------------------------- | ------------ | | VWO_SDK_KEY | The SDK key used to initialize the VWO SDK. | Yes | | VWO_ACCOUNT_ID | The account ID of the VWO project. | Yes |

Usage Example

name: Feature Flag Management

on:
  push:
    branches:
      - main

jobs:
  feature-flag-evaluation:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Evaluate Feature Flags
        uses: wingify/[email protected]
        with:
          flagsWithVariables: |
            {
              "feature-flag-key-1": {
                "variable-key-1": "variable-default-value"
              },
              "feature-flag-key-2": {
                "variable-key-1": "variable-default-value"
              }
            }
          userContext: |
            {
              "id": "your-user-id"
            }
          sdkInitOptions: |
            {
              "logger": {
                "level": "DEBUG"
              }
            }
        env:
          VWO_SDK_KEY: ${{ secrets.VWO_SDK_KEY }}
          VWO_ACCOUNT_ID: ${{ secrets.VWO_ACCOUNT_ID }}

Authors

Changelog

Refer CHANGELOG.md

Contributing

Please go through our contributing guidelines

Code of Conduct

Code of Conduct

License

Apache License, Version 2.0

Copyright 2024 Wingify Software Pvt. Ltd.