JSPM

@improved/node

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9987
  • Score
    100M100P100Q130413F
  • License MIT

Quickly import from core node modules

Package Exports

  • @improved/node/fs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@improved/node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@improved/node

Quickly import from core node modules

Usage

(TypeScript)

import { ok } from "@improved/node/assert" // assert strict mode
import { readFile } from "@improved/node/fs" // fs Promises API
import { join as posixJoin } from "@improved/node/path-posix" // path.posix
import { join as win32Join } from "@improved/node/path-win32" // path.win32
import { decode } from "@improved/node/punycode-ucs2" // punycode.ucs2