udeno
v0.3.6
Published
provides out of the box deno support for node packages in production
Downloads
14
Maintainers
Readme
udeno
provides out of the box deno support for node packages in production
README
English | 简体中文
Usage
install
npm i udeno -g
cli
in your node package root
udeno
udeno --help
program
import { udeno, transformReadMe } from 'udeno'
udeno() // primary transform
transformReadMe() // transform ReadMe version
config
import { udeno } from 'udeno'
udeno({
src: 'src', // Source code directory
depsDir: 'deps', // Directory of output transformation
npmSpecifiers: true, // open npm specifiers,Not recommended temporarily
index: 'src/index.ts', // Source code entry file
npmCDN: 'https://esm.sh/', // npm package cdn
normalize: defaultNormalize, // Allow you to customize the conversion
vscode: {
disable: false, // Disable vscode configuration generation
path: '.vscode', // Your vscode configuration path
// The vscode configuration you want to generate
settings: {
'deno.enable': true,
'deno.enablePaths': ['mod.ts', 'deps'] // Automatically generated by default, no need to care
}
}
})
License
Made with markthree
Published under MIT License.