open-index/open-npm huggingface dataset:
npm package: @kilt/azazel
Description: simple javascript events handler
Author: Jesús Manuel Germade Castiñeiras
Latest version: 1.2.4

# @kilt/azazel

Another events handler/wrapper that can be attached to an object.

[![](https://img.shields.io/npm/v/@kilt/azazel.svg)](https://www.npmjs.com/package/@kilt/azazel)
[![Build Status](https://travis-ci.org/kiltjs/azazel.svg?branch=master)](https://travis-ci.org/kiltjs/azazel)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Installation
------------
``` sh
npm i -S @kilt/azazel

# npm install --save @kilt/azazel
```

Usage
-----
``` js
var obj = new Azazel();

obj.on('foo', function () {
  flag = true;
});

obj.trigger('foo');
```
npm package: @kilt/form-knox
Description: form validity helper and input mask parser
Author: Jesús Germade
Latest version: 1.0.116

# @kilt/form-knox

[![ᴋɪʟᴛ ᴊs](https://jesus.germade.es/assets/images/badge-kiltjs.svg)](https://github.com/kiltjs)
[![npm](https://img.shields.io/npm/v/@kilt/form-knox.svg?maxAge=2592000)](https://www.npmjs.com/package/@kilt/form-knox)
[![Build Status](https://travis-ci.org/kiltjs/form-knox.svg?branch=master)](https://travis-ci.org/kiltjs/form-knox)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

``` sh
npm i form-knox --save
```
npm package: @kilt/http
Description: http jstool example
Author: Jesús Manuel Germade Castiñeiras
Latest version: 1.0.25


# http-rest

`ajax / http` wrapper for browser and node that allows config inheritance ( uses [fetch API](https://developer.mozilla.org/es/docs/Web/API/Fetch_API) when present )

[![ᴋɪʟᴛ ᴊs](https://jesus.germade.es/assets/images/badge-kiltjs.svg)](https://github.com/kiltjs)
[![npm](https://img.shields.io/npm/v/http-rest.svg)](https://www.npmjs.com/package/http-rest)
[![Build Status](https://travis-ci.org/kiltjs/http-rest.svg?branch=master)](https://travis-ci.org/kiltjs/http-rest)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

### Installation

> Node module

``` sh
npm install @kilt/http --save
```
``` js
var $http = require('http-rest');
```

> Browser using node bundler

``` js
var $http = require('http-rest/browser');

// if you want to use fetch API when present
var $http = require('http-rest/fetch');
```

> Browser using bower

``` sh
bower install http-rest --save
```

``` js
// if you want to use fetch API when present (in bower.json)
// ...
"overrides": {
  "http-rest": {
    "main": "dist/fetch.js"
  }
},
// ...
```


### Usage

``` js
// GET .../items?prop1=value1
$http.get('/items', { params: { prop1: value1 } });

$http.post('/items', {
  sample: 'payload'
});

$http.put('/items/:itemId', {
  sample: 'payload'
});

$http.patch('/items/:itemId', {
  sample: 'payload'
});

$http.delete('/items/:itemId');
```

### Base configurations

``` js
var http_items = $http.base('items');

http_items.post({ prop1: 'value1' });

http_items.get(itemId);

http_items.put(itemId, {  prop1: 'another value' });

http_items.delete(itemId);
```
npm package: @kilt/lumiere
Description: Animation wrapper
Author: Jesús Germade
Latest version: 1.0.3


# @kilt/lumiere

Animation wrapper based on rAF (requestAnimationFrame)

[![npm](https://img.shields.io/npm/v/lumiere.svg)](https://www.npmjs.com/package/lumiere)
[![Build Status](https://travis-ci.org/kiltjs/lumiere.svg?branch=master)](https://travis-ci.org/kiltjs/lumiere)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

> npm

``` sh
npm i @kilt/lumiere --save
```

> yarn

``` sh
yarn add lumiere
```

### Usage

``` html
<script src="https://cdn.rawgit.com/kiltjs/lumiere/2449a6f3/dist/lumiere.min.js"></script>
```

``` js
import lumiere from 'lumiere';

var initial_scroll = document.scrollingElement.scrollTop,
    scroll_length = 100; // scroll down 100px

lumiere(400, function (progress) {

  document.scrollingElement.scrollTop = initial_scroll + scroll_length*progress;

}, function (progress) {

  // example of easeInQuad
  return progress*progress;

  // check out https://gist.github.com/gre/1650294 for more easing functions
  // also check out https://github.com/gre/bezier-easing

}).then(function () {

  // animation finished

});
```
npm package: @kilt/parole
Description: Another ES6 promise implementation (compliant with Promises/A+)
Author: Jesús Germade
Latest version: 1.1.30


# Parole

[<img src="https://promisesaplus.com/assets/logo-small.png" alt="Promises/A+ logo" title="Promises/A+ 1.0 compliant" align="right" />](https://promisesaplus.com/)

Another ES6 promise implementation ([compliant](https://github.com/promises-aplus/promises-tests) with [Promises/A+](https://github.com/promises-aplus/promises-spec))

[![ᴋɪʟᴛ ᴊs](https://jesus.germade.es/assets/images/badge-kiltjs.svg)](https://github.com/kiltjs)
[![npm](https://img.shields.io/npm/v/parole.svg)](https://www.npmjs.com/package/parole)
[![Build Status](https://travis-ci.org/kiltjs/parole.svg?branch=master)](https://travis-ci.org/kiltjs/parole)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

## Installation
```.sh
npm install parole --save

# alternatively you can use bower (minified version by default)
bower install parole --save
```

### ES6 fulfill
> `Parole` implements [ES6 Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) specs

``` js
// parole respects the es6 promise specification
// you can use parole as global polyfill

if( !window.Promise ) {
  window.Promise = Parole;
}
```

### Example
``` js
new Parole(function (resolve, reject) {
        resolve('gogogo!');
    })

    .then(function (result) {
        console.log('checkpoint 1', result);
        throw 'whoops!';
    })

    .then(function (result) {
        console.log('checkpoint 2', result);
    },function (result) {
        console.log('checkpoint 2.1', result);
        return new Parole(function (resolve, reject) {
            setTimeout(function () { resolve('all right!'); }, 400);
        });
    })

    .then(function (result) {
        console.log('checkpoint 3', result);
    }, function (reason) {
        console.log('checkpoint 3.1', reason);
    })
;
```
> output

```.sh
checkpoint 1 gogogo!
checkpoint 2.1 whoops!
# elapsed 400ms
checkpoint 3 all right!
```

### Tests
``` sh
make test
```