JavaScript SDK for OpenFeature
Go to file
Todd Baert 3b2d04527b
Add api, client
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2022-05-30 08:58:34 -04:00
.github/workflows Add public access 2022-05-11 16:23:17 -04:00
.vscode Fixing readme formatting, removing bad recommendation 2022-05-11 15:52:22 -04:00
src Add api, client 2022-05-30 08:58:34 -04:00
test Add api, client 2022-05-30 08:58:34 -04:00
.editorconfig Init 2022-05-10 10:36:02 -04:00
.eslintignore Add linting 2022-05-11 13:37:36 -04:00
.eslintrc.json Add api, client 2022-05-30 08:58:34 -04:00
.gitignore Initial commit 2022-05-02 07:30:45 -04:00
.prettierrc Add api, client 2022-05-30 08:58:34 -04:00
LICENSE Initial commit 2022-05-02 07:30:45 -04:00
README.md Add placeholder warning 2022-05-24 15:10:52 -04:00
jest.config.ts Add linting 2022-05-11 13:37:36 -04:00
package-lock.json Add api, client 2022-05-30 08:58:34 -04:00
package.esm.json ESM and CommonJS support 2022-05-10 14:12:54 -04:00
package.json Add api, client 2022-05-30 08:58:34 -04:00
tsconfig.cjs.json ESM and CommonJS support 2022-05-10 14:12:54 -04:00
tsconfig.json ESM and CommonJS support 2022-05-10 14:12:54 -04:00

README.md

OpenFeature SDK for NodeJS

⚠️ This repository is a placeholder for a future SDK implementation. It is not ready for evaluation

Development

Installation and Dependencies

Install dependencies with npm ci. npm install will update the package-lock.json with the most recent compatible versions.

We value having as few runtime dependencies as possible. The addition of any dependencies requires careful consideration and review.

Testing

Run tests with npm test.

Packaging

Both ES modules and CommonJS modules are supported, so consumers can use both require and import functions to utilize this module. This is accomplished by building 2 variations of the output, under dist/esm and dist/cjs, respectively. To force resolution of the dist/esm/**.js* files as modules, a package json with only the context {"type": "module"} is included at a in a postbuild step. Type declarations are included at /dist/types/