Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 5.31 KB

README.md

File metadata and controls

86 lines (65 loc) · 5.31 KB

@nodesecure/flags

npm version Maintenance ossf scorecard license github ci workflow

Requirements

Getting Started

This package is available in the Node Package Repository and can be easily installed with npm or yarn.

$ npm i @nodesecure/flags
# or
$ yarn add @nodesecure/flags

Usage example

import { getFlags, getManifest, eagerFetchFlagFile } from "@nodesecure/flags";

// Return a Set of flags title
const flags = getFlags();

// Return the manifest file
const manifest = getManifest();

const HTML = await eagerFetchFlagFile("hasBannedFile.html");

API

See TypeScript definition file.

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):

Gentilhomme
Gentilhomme

💻 📖 👀 🛡️ 🐛
Vincent Dhennin
Vincent Dhennin

💻 📖 👀 🐛
Nicolas Hallaert
Nicolas Hallaert

📖
Maksim Balabash
Maksim Balabash

🐛
Kouadio Fabrice Nguessan
Kouadio Fabrice Nguessan

🚧
Maxime
Maxime

⚠️

License

MIT