New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

deno-module-extension-resolver

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deno-module-extension-resolver

NPM module to resolve import module extension for Deno

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

deno-module-extension-resolver

Ubuntu Release Engine License

Resolves module extensions in import / export from.

This is a NPM package for Deno.

Install

npm i deno-module-extension-resolver

Usage

deno-module-extension-resolver SRC_DIR DST_DIR
  • resolves module extensions in .ts / .js files
  • directory structure is keeped
  • destination directories will be created if not exist

Example

// will be resolved
import "/absolute/path/to/module";
import foo from "./relative/path";
import * as bar from "/named/export";
export * from "/export/aggregation";
export {baz, qux} from "/export/aggregation";

// will NOT be resolved
import "/already/resolved.ts";
import "/files/to/resolve/not/exists";
import "neither/absolute/nor/relative";
import "https://example.com/not/file/path";
require("/deno/does/not/support/require");

Changelog

See CHANGELOG.md.

FAQs

Package last updated on 23 Dec 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc