1.1.4 • Published 1 year ago
sherpajs-static-flags v1.1.4
SherpaJS Static Flags
Create static flags of booleans, strings, or numbers for SherpaJS an agnostic and modular serverless platform.
Features
- ✅ SherpaJS Module, an Agnostic and Modular Serverless Platform
- ✅ Expose static flags like booleans, strings, and numbers
- ✅ Endpoint to expose all flags or singular flag
Installation
npm install sherpajs-static-flags
Example Usage
// 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