udeno
TypeScript icon, indicating that this package has built-in type declarations

0.3.6 • Public • Published

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.


Package Sidebar

Install

npm i udeno

Weekly Downloads

1

Version

0.3.6

License

MIT

Unpacked Size

908 kB

Total Files

12

Last publish

Collaborators

  • markthree