An open API service indexing awesome lists of open source software.

https://github.com/dreamsicle-io/speckle

A JavaScript plugin that adds responsive, stylized speckles to any element; with no dependencies.
https://github.com/dreamsicle-io/speckle

art-generator commonjs effects javascript node-module

Last synced: 4 months ago
JSON representation

A JavaScript plugin that adds responsive, stylized speckles to any element; with no dependencies.

Awesome Lists containing this project

README

          

# Speckle

A JavaScript module that adds responsive, stylized speckles to any element; with no dependencies.

## Getting Started

### Installation

```shell
npm install speckle-js
```

### Usage

Import the module.

```js
// Import the module using ES6.
import Speckle from 'speckle-js';

// Import the module using CommonJS.
const Speckle = require('speckle-js');
```

Use the constructor by passing a valid HTML element as the first argument, and an options object of `key: value` pairs as the second argument.

```js
new Speckle(element, options);
```

## Documentation

Visit the [documentation and examples](http://speckle.dreamsicle.io) for all options, methods, and how to use them.