Code Monkey home page Code Monkey logo

less-cache's Introduction

Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement

Less Cache CI

Caches the compiled .less files as .css.

Using

npm install less-cache
LessCache = require 'less-cache'

cache = new LessCache(cacheDir: '/tmp/less-cache')
css = cache.readFileSync('/Users/me/apps/static/styles.less')

less-cache's People

Contributors

aminya avatar benogle avatar darangi avatar kevinnathan avatar kevinsawicki avatar maxbrunsfeld avatar sadick254 avatar thomasjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

less-cache's Issues

Update less to 3.5+

We should update less to at least 3.5 to get newer features, specially maps are nice.

After update there are 4 tests failing, most likely related to fact that paths are now normalized to have forward slash in name, tested on node 10.16

Update to latest version of Less?

I'd like to use some of the newer LESS features, but this cache is still based on LESS 1.7. Would it be possible to update that dependency?

Support for registering less functions

It'd be handy to give us a place to declare additional functions to be made available to less (or maybe just exposing the instance of less used). Probably means pulling less ^2.0.0, though. Getting custom functions into 1.x is a bit messy.

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.