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

feather2

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feather2

feather2.0

latest
Source
npmnpm
Version
2.1.17
Version published
Weekly downloads
26
62.5%
Maintainers
1
Weekly downloads
 
Created
Source

feather2

feather2是继feather之后基于fis3.0进行扩展的工程化框架。

feather2的架构做出了很大的调整,提高用户的易用性,并于feather1.x不同,feather2起初仅仅只适用于纯静态页面的前端项目,比如webapp,或结合一些mvvm框架进行开发的项目。2.1开始,集成mustache模板语法,提供除lothar外其他动态语言开发的框架选择,mustache支持多达几十种开发语言,简单简洁的语法,集合feather所提供的模板扩展标签使用,基本可以满足简单的动态语言开发需求,更复杂的一些场景还是建议直接进行定制化

基于feather2可以非常容易的再次扩展出动态语言的工程化框架,并且开发量也较少,如: lothar(blade模板引擎)

2.0与1.x部分功能比较:

功能1.x2.x
fis基本功能支持支持
本地服务器、url转发、mock数据支持(java)支持(node)
压缩、合并、csssprite、预编译支持支持
项目脚手架支持支持
livereload支持支持
模块化支持支持
模板继承不支持支持
bigrender/pipe/quickly部分支持支持
包管理不支持支持
多人协同支持支持
多模块开发动态支持动态支持
静态资源位置优化、去重支持支持
静态资源按需加载、combo不支持支持
远程deploy方式httphttp/ftp

feather2对fis3本身提供的部分内容重新扩展, 使用--watch功能时,编译速度比fis3快3倍,以应对项目文件过多时的编译性能问题。

使用文档

gogogo

安装

npm install -g feather2

使用脚手架创建项目

feather2 init demo

编译项目

feather2 release -r demo

开启本地server,预览项目

feather2 server start

插件列表

FAQs

Package last updated on 02 Apr 2018

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