Socket
Book a DemoInstallSign in
Socket

ext-migrator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ext-migrator

complete or remove files extension.

1.0.1-beta.9
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Ext Migrator

Complete or remove files extension.

sourcetarget
import '@/example-js'import '@/example-js.js'
import '@/example-ts'import '@/example-ts.ts'
import '@/example-jsx'import '@/example-jsx.jsx'
import '@/example-tsx'import '@/example-tsx.tsx'
import '@/example-vue'import '@/example-vue.vue'
import '@/example-index'import '@/example-index/index.vue'

By default, only .vue .scss .css extensions will be added.

Install

npm i --no-save ext-migrator

Start

ext-migrator

Options

ext-migrator [args]

Options:
  -f, --files       input files                  [array] [default: ["src/**/*"]]
  -a, --alias       path alias                      [array] [default: ["@=src"]]
  -e, --extensions  extensions for imports files
                   [array] [default: ["js","ts","jsx","tsx","vue","css","scss"]]
  -c, --complete    need to complete extensions, use ! prefix will be remove,
                    like: !vue           [array] [default: ["vue","scss","css"]]
  -v, --version     Show version number                                [boolean]
  -h, --help        Show help                                          [boolean]

FAQs

Package last updated on 30 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.