nyma

Simplify your require/import with juste a ~

Usage no npm install needed!

<script type="module">
  import nyma from 'https://cdn.skypack.dev/nyma';
</script>

README

Nyma preview

How work it

This module lets you turn things like require('../../../../foo') into something like require('~/foo').

The way it works is that on postinstall it creates a symlink in app/node_modules/~ to point to app/.

Credits

This repository is a fork of wavy