Socket
Book a DemoInstallSign in
Socket

@bondsports/read-package

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bondsports/read-package

This is template for map colonies typescript packages

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
3
Created
Source

Bond Sports read package

An encpsulation for reading package json of a server

Installation

$ npm install --save-dev eslint @bondsports/read-package

or

$ yarn add --dev eslint @bondsports/read-package

Usage

Add the configs you want to the extend section of your eslintConfig of your package.json, or to your .eslintrc configuration file.
Note: make sure to add ts-base last.

 import { readPackageJsonSync } from '@bondsports/read-package';

export const SERVICE_NAME = readPackageJsonSync().name ?? 'unknown_service';

FAQs

Package last updated on 05 Sep 2022

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