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

0.0.4 • Public • Published

DZ Unimport

retro unjs/unimport

Usage

Name import

imports: [
  { name: 'ref', from: 'vue' },
  { name: 'useState', as: 'useSignal', from: 'react' },
]

Will be injected as:

import { ref } from 'vue'
import { useState as useSignal } from 'react'

Readme

Keywords

none

Package Sidebar

Install

npm i dz-unimport

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

57.1 kB

Total Files

6

Last publish

Collaborators

  • dylanzhang