-
Notifications
You must be signed in to change notification settings - Fork 1
Abstract Module
Create template node_modules of each module file for loading as package by import/require
.
How to Code Hinting: packages within node_modules or outside installed with github/npm
can access by incrementally check for parent folder and existing node_modules folder to lookup package name and hint.
Write Abstract Classes for export based on real module classes in a separate folder i.e. abstracts
and use for extends.
Type preemptive classes, functions and objects for export and code hinting.
Load with require
real module using supername
and RequireSupername.js
initialization in application, transfer one by one or for in
to module.exports
after all abstracts visible to the ide, and create namespacemap.json
configuration.
For any additional packaged modules to access via package name of the folder in import
or require
must be created a symlink (symbolic link) based on your OS and input the folder symlink in your node_modules folder to use it anywhere.
Enable processing of node_modules in extensions like prettier, use ignore configuration.