1.0.12 • Published 1 year ago

js-module-exists v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Follow me Sponsors MIT License Node Version

Checks if an es module/ npm package exists in package.json file and returns a boolean value.

Table of contents


Installation

  • Via npm:
npm install js-module-exists --save-dev
  • Via yarn:
yarn add -D js-module-exists

How to use?

API

MethodUsage
moduleExists()Еasy to use a method that will return a boolean value after checking the module/ npm package.
  1. moduleExists() method
  • Accepts string and returns a boolean value.
import { moduleExists } from "js-module-exists";

if (moduleExists("some-npm-package-name")) {
  //=> true
} else {
  //=> false
}

Developer Support:

  • If you saw some issue/bug 🐛 related to the specific release version.
  • If you want some new feature or change to be added/implemented. 😊

Please, contact the creator of the js-module-exists, so he will be able to fix or improve it:

Kristiyan Velkov

Email: christiyanweb@gmail.com

linkedin

portfolio

Support my work

If you like my work and want to support me to work hard, please donate via:

RevolutBuy me a coffee

Thanks a bunch for supporting me! It means a LOT 😍


Copyright ©️2024. All rights reserved.

1.0.12

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago