Skip to content

Repository files navigation

hlambda npm version

hlambda - Library containing functions and helpers used in hlambda apps.

NPM

Installation

npm

$ npm i hlambda --save

yarn

$ yarn add hlambda

Example

import{executeWithAdminRights,createErrorDescriptor,createConstantsDescriptor,getEnvValue,isEnvTrue}from'hlambda';
import{createErrorDescriptor}from'hlambda';// --- START SAFE TO EDIT ---exportconsterrorsGroupName='example-hasura-app';exportconsterrors={FUNCTIONALITY_NOT_IMPLEMENTED: {message:
'Specific functionality is still in development. (It should be available soon, thank you for understanding.)',},SOMETHING_WENT_TERRIBLY_WRONG: {message: 'Description of an error message...',},};// --- STOP SAFE TO EDIT ---exportconsted=createErrorDescriptor(errors,errorsGroupName);exportdefaulterrors;

About

Hlambda lib, source of npm hlambda package

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages