Skip to content
is-builtin / 1.0.1

is-builtin 1.0.1

Install from the command line:
Learn more about npm packages
$ npm install @flex-development/is-builtin@1.0.1
Install via package.json:
"@flex-development/is-builtin": "1.0.1"

About this version

is-builtin

conventional commits code style: prettier module type: esm npm license typescript

Ponyfill for module.isBuiltin

Install

yarn add @flex-development/is-builtin

GitHub Package Registry

To install from the GitHub Package Registry, setup a .npmrc or .yarnrc.yml file to authenticate with the registry.

A Personal Access Token with the read:packages scope is required.

.npmrc

//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
@flex-development:registry=https://npm.pkg.github.com/

.yarnrc.yml

npmRegistries:
  //npm.pkg.github.com:
    npmAlwaysAuth: true
    npmAuthToken: ${GITHUB_TOKEN}

npmScopes:
  flex-development:
    npmRegistryServer: https://npm.pkg.github.com

Git

See npm-install or Git - Protocols | Yarn for details on requesting a specific branch, commit, or tag.

NPM

npm i flex-development/is-builtin

Yarn

yarn add @flex-development/is-builtin@flex-development/is-builtin

Usage

import isBuiltin from '@flex-development/is-builtin'

console.log(isBuiltin('@flex-development/is-builtin')) // false
console.log(isBuiltin('node:fs/promises')) // true
console.log(isBuiltin('node:fs')) // true
console.log(isBuiltin('fs')) // true

Details


Assets

  • is-builtin-1.0.1.tgz

Download activity

  • Total downloads 4,947
  • Last 30 days 0
  • Last week 0
  • Today 0