css-list-helpers

WebJar for css-list-helpers

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

css-list-helpers
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

css-list-helpers
WebJar for css-list-helpers
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jedmao/css-list-helpers

Download css-list-helpers

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/css-list-helpers/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>css-list-helpers</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/css-list-helpers/
implementation 'org.webjars.npm:css-list-helpers:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/css-list-helpers/
implementation ("org.webjars.npm:css-list-helpers:1.0.1")
'org.webjars.npm:css-list-helpers:jar:1.0.1'
<dependency org="org.webjars.npm" name="css-list-helpers" rev="1.0.1">
  <artifact name="css-list-helpers" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='css-list-helpers', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "css-list-helpers" % "1.0.1"
[org.webjars.npm/css-list-helpers "1.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : tcomb jar [2.5.0,3)

Project Modules

There are no modules declared in this project.

css-list-helpers

NPM version npm license Travis Build Status codecov

npm

Helper methods for splitting CSS lists (i.e., by spaces or commas), extracted from PostCSS#list.

Installation

$ npm install css-list-helpers [--save[-dev]]

Usage

var listHelpers = require('css-list-helpers');

listHelpers.splitBySpaces(' 0 a(b / c) "d e" ');
// ['0', 'a(b / c)', '"d e"']

listHelpers.splitByCommas(' 0, a(b / c), "d e" ');
// ['0', 'a(b / c)', '"d e"']

listHelpers.split('a/fn(b / c)', ['/']);
// ['a', 'fn(b / c)']

ES6/2015 import

import * as listHelpers from 'css-list-helpers';

Docs

This project provides first-class TypeScript support via generated TypeScript definitions, included with the package. As such, you shouldn't have to look-up documentation in your editor, so long as your editor supports TypeScript.

Testing

$ npm test

This will run tests and generate a code coverage report. Anything less than 100% coverage will throw an error.

Versions

Version
1.0.1