@edgeandnode/common
TypeScript icon, indicating that this package has built-in type declarations

6.8.0 • Public • Published

Edge & Node Common

This project implements and contains common utils and models/types to be ingested and utilized by other Edge & Node repos.

Test coverage

Coverage lines Coverage functions Coverage branches Coverage statements

Building and running

  1. Run pnpm install to install all dependencies.
  2. Run pnpm build to bundle all files using rollup
  3. Run pnpm publish to publish to NPM

Testing

This repo uses vitest for its test suite/runner. To run the tests:

vitest test

Directory Structure and Naming Convention

All source code belongs in the src directory. Inside of this directory, it is broken up by domain (ex: utils) and all files in the domain directory should contain code that matches that domain (ex: graphql.utils.ts). File names should be kebob-case and have the file domain type appended with a . before the file extension (i.e. all files in src/utils should be follow {utils-type}.utils.ts. ex: graphql.utils.ts). Test files belong at the same level as the file they are putting under test and should follow the same naming convention as the file they are putting under test with .test appended before the file extension (i.e. {utils-type}.utils.test.ts. ex: graphql.utils.test.ts).

Readme

Keywords

none

Package Sidebar

Install

npm i @edgeandnode/common

Weekly Downloads

490

Version

6.8.0

License

UNLICENSED

Unpacked Size

270 kB

Total Files

160

Last publish

Collaborators

  • andras_en
  • migueldeelias
  • pcarranzav_edgeandnode
  • lutter
  • edge-and-node
  • leoyvens
  • lnsd
  • neysofu
  • nasmr
  • adam-en
  • benface
  • fordn
  • theodus
  • jannispohlmann
  • dnfodjo
  • iain_mccown
  • that3percent
  • cmwhited
  • schmidsi