@direktspeed/baseurl

0.1.1 • Public • Published

baseUrl

Helps you got get a better programmer and makes your code portable it gives it super poweres got get loaded in other Environments then NodeJS as ECMAScript Module ESM and does a lot of magic buy just using it. You will expirence less Problems and get more stable software. No matter what frameworks your using with it.

This works with Angular and Vue and React and Svelte and everything you name it as long as it is also Javascript based.

npm i baseurl
const { baseUrl, nodeModules } = await import('baseurl');


// NodeJS Resolve without resolve totatal static reuseable analyzeable path linking.
import('./my-node-module/myModule.js', nodeModules);

Later in your bundler you can for advanced control and scenarios patch the baseurl module anytime and export a other path under baseUrl or nodeModules to adjust the path without changing a single line of code.

Package Sidebar

Install

npm i @direktspeed/baseurl

Weekly Downloads

0

Version

0.1.1

License

Unlicense

Unpacked Size

1.69 kB

Total Files

3

Last publish

Collaborators

  • direktspeed-backup
  • frank-dspeed