🐊Putout plugin adds ability to declare imports first
npm install @putout/plugin-declare-imports-first[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-declare-imports-first.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-declare-imports-first "npm"
> The static import declaration is used to import read-only live bindings which are exported by another module.
>
> (c) MDN
🐊Putout plugin adds ability to declare imports first. For CommonJS use nodejs/declare-after-require.
Check out in 🐊Putout Editor. Merged with @putout/plugin-esm.
```
npm i @putout/plugin-declare-imports-first
`json`
{
"rules": {
"declare-imports-first": "on"
}
}
`js`
const [arg] = process.argv;
import esbuild from 'esbuild';
`js
import esbuild from 'esbuild';
const [arg] = process.argv;
``
MIT