@nodesecure/flags
v2.4.0
Published
NodeSecure security flags
Downloads
359
Readme
NodeSecure Flags
NodeSecure security flags.
Requirements
- Node.js v14 or higher
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 ✨
Thanks goes to these wonderful people (emoji key):
License
MIT