1.1.4 • Published 1 year ago

sherpajs-static-flags v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

SherpaJS Static Flags

NPM Version

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
1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.0

1 year ago