Skip to main content
Home

Built and signed on GitHub Actions

This package works with Deno
This package works with Deno
JSR Score
94%
Published
a year ago (0.2.1)

Replace std to jsr

The tiny tool to replace https://deno.land/std@x.y.z/some-module/ to jsr:@std/some-module@x.y.z/.

Usage

deno run --allow-read --allow-write --allow-env --allow-net=jsr.io --allow-sys=cpus jsr:@omochice/replace-std-to-jsr@0.2.0 <target filepaths>
Usage: replace-std-to-jsr <filenames...>

Description:

  The tiny tool to replace `https://deno.land/std@x.y.z/some-module/` to `jsr:@std/some-module@x.y.z/`

Options:

  -h, --help  - Show this help.
  --dry-run   - dry run mode. Result show in stdout  (Default: false)

This script(All are used by ts-morph) reads bellow environments.

  • TS_ETW_MODULE_PATH
  • TSC_WATCHFILE
  • TSC_NONPOLLING_WATCHER
  • TSC_WATCHDIRECTORY
  • NODE_INSPECTOR_IPC
  • VSCODE_INSPECTOR_OPTIONS
  • TSC_WATCH_POLLINGINTERVAL_LOW
  • TSC_WATCH_POLLINGINTERVAL_MEDIUM
  • TSC_WATCH_POLLINGINTERVAL_HIGH
  • TSC_WATCH_POLLINGCHUNKSIZE_LOW
  • TSC_WATCH_POLLINGCHUNKSIZE_MEDIUM
  • TSC_WATCH_POLLINGCHUNKSIZE_HIGH
  • TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS_LOW
  • TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS_MEDIUM
  • TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS_HIGH
  • NODE_ENV
  • __MINIMATCH_TESTING_PLATFORM__
  • __TESTING_MKDIRP_PLATFORM__
  • __TESTING_MKDIRP_NODE_VERSION__

License

zlib

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@omochice/replace-std-to-jsr

Import symbol

import * as replace_std_to_jsr from "@omochice/replace-std-to-jsr";
or

Import directly with a jsr specifier

import * as replace_std_to_jsr from "jsr:@omochice/replace-std-to-jsr";