Create static flags of booleans, strings, or numbers for SherpaJS an agnostic and modular serverless platform.
- ✅ SherpaJS Module, an Agnostic and Modular Serverless Platform
- ✅ Expose static flags like booleans, strings, and numbers
- ✅ Endpoint to expose all flags or singular flag
npm install sherpajs-static-flags
// any index.ts route
import StaticFlags from "sherpajs-static-flags";
export default StaticFlags.load({
example: "hello world",
test: 2
foo: false
});
Endpoint /
{
"example": "hello world",
"test": 2,
"foo": false
}
Endpoint /example
"hello world"
Endpoint /test
2
Endpoint /test
false