@nodesecure/flags

NodeSecure security flags

Usage no npm install needed!

<script type="module">
  import nodesecureFlags from 'https://cdn.skypack.dev/@nodesecure/flags';
</script>

README

NodeSecure Flags

version Maintenance Security Responsible Disclosure mit build

NodeSecure security flags.

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

💻 📖 👀 🛡️ 🐛

Vincent Dhennin

💻 📖 👀 🐛

Nicolas Hallaert

📖

License

MIT