Code Monkey home page Code Monkey logo

web-front-tools's Introduction

前端工具集

项目说明

此项目为前端的工具集合项目,使用node编写,JS语法使用的ES6。

此项目会不定期添加新的工具。

快速开始

  • 安装node环境。
  • 项目根目录执行npm install安装依赖插件。

目录说明

  • src下存放的工具公用的一些函数。
  • demo下存放的具体例子(调用src下的基础类库)。
  • test目录下存放一些测试用的资源。
  • package.jsonscript存放工具命令的启动方法。

具体工具

  • TTF字体抽取工具

    • 简介: 完整的ttf字库太大,可将程序用的ttf字体抽取出来,只保留程序用的文字。

    • demo: 执行npm run font or node ./demo/font。

    • 注释见代码内。

    • 底层使用fontmin

    • 截图: font

  • PNG图片压缩工具

    • demo:执行 npm run image or node ./demo/image
    • 注释见代码内部。
    • 目前只能压缩PNG图片。
    • 底层使用 imagemin-pngquant压缩的图片,可调节压缩参数,最高能压缩60%-70%左右。
    • 截图: font

交流

  • QQ群: 223460081

web-front-tools's People

Contributors

zk-luke avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.