Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@edgeandnode/common

Package Overview
Dependencies
Maintainers
0
Versions
375
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edgeandnode/common

Set of common util functions, constants, and types

  • 6.28.0-label-1729214929668-180ff8c532a4f1ad75c3df946bcb522ffb8cea68
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-48.93%
Maintainers
0
Weekly downloads
 
Created
Source

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).

FAQs

Package last updated on 18 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc