Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sorrycc/import-helper

Don't waste time to write import/require statement.
https://github.com/sorrycc/import-helper

Last synced: about 2 months ago
JSON representation

Don't waste time to write import/require statement.

Awesome Lists containing this project

README

        

# import-helper

[WIP] Don't waste time to write import/require statement.

[![NPM version](https://img.shields.io/npm/v/import-helper.svg?style=flat)](https://npmjs.org/package/import-helper)
[![Build Status](https://img.shields.io/travis/sorrycc/import-helper.svg?style=flat)](https://travis-ci.org/sorrycc/import-helper)
[![NPM downloads](http://img.shields.io/npm/dm/import-helper.svg?style=flat)](https://npmjs.org/package/import-helper)

## Why

解决手写 import 的重复劳动,能交给机器做的绝不自己动手。

## Demo

![](https://img.alicdn.com/tfs/TB1RI92CFzqK1RjSZFoXXbfcXXa-817-623.gif)

## Features

* ✔︎ 根据 identifier 自动补全 import
* ✘︎ 根据 package.json 中的依赖补全 import
* ✘︎ 支持 esm 和 cjs(目前仅支持 esm)

## Installation

```bash
$ yarn global add import-helper
```

## Usage

## LICENSE

MIT