Code Monkey home page Code Monkey logo

parseless's Introduction

parseless

Build Status

Aims:

  • be unobstrusive. the full less/css code should be recreatable from the ast
  • preserver inline comments
  • add multiline comments as full nodes
  • don't parse everything. foo: bar is nothing more than an attribute-node

Usage

$ npm install parseless
var parse = require('parseless');

parse('foo: bar;')

/*
  {
    data: '',
    children: [
      {
        parent: [Circular],
        data: 'foo: bar',
        children: [],
        type: 'attribute'
      }
    ],
    parent: [Circular],
    type: 'block'
  }
*/

Running the tests

$ npm install
$ npm install -g mocha
$ mocha

License

(MIT)

Copyright (c) 2012 <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

parseless's People

Contributors

juliangruber avatar

Watchers

 avatar James Cloos avatar  avatar

parseless's Issues

An in-range update of should is breaking the build 🚨

Version 11.2.0 of should just got published.

Branch Build failing 🚨
Dependency should
Current Version 11.1.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As should is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ


Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Commits

The new version differs by 7 commits .

  • 64ad890 Merge branch 'master' of github.com:shouldjs/should.js
  • 48fac91 Release 11.2.0
  • 51a3c5e Add .only modifier for .keys
  • f1f3d5a Merge pull request #131 from jakearchibald/patch-1
  • 0fd9c34 Minor grammar correction
  • d2cd6cc Remove very old browsers from testing list
  • 77be237 Updated build

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

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.