New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

feather2lothar

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feather2lothar

feather1.x 转 lothar

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

feather2lothar

此工具用来将feather1.x的项目尝试转换为lothar

具体用法

feather2lothar feather-demo ./lothar-demo

执行后,会产出一个common模块,如果原feather项目的目录结构不规范,则会将其他文件直接放置于main模块中

├── common  ##common模块
│   ├── components
│   │   ├── ui
│   │   │   └── zepto
│   │   │       └── zepto.js
│   │   └── vue
│   │       └── vue.js
│   ├── conf
│   │   ├── conf.js
│   │   └── deploy
│   │       └── build.js
│   ├── data
│   │   └── widget
│   │       └── header
│   │           └── header.php
│   ├── static
│   │   ├── common.css
│   │   ├── common.js
│   │   ├── images
│   │   └── reset.css
│   └── widget
│       ├── footer
│       │   └── footer.html
│       ├── header
│       │   ├── header.css
│       │   └── header.html
│       └── title
│           ├── title.css
│           └── title.html
└── main    ##非common的都会放置main模块
    ├── conf
    │   ├── conf.js
    │   ├── deploy
    │   │   ├── build.js
    │   └── rewrite.js
    ├── data
    ├── static
    └── widget

使用lothar

lothar release -r lothar-demo/common
lothar release -r lothar-demo/main

FAQs

Package last updated on 12 Oct 2016

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