open-index/open-npm huggingface dataset:
npm package: @iml/jasmine-n-matchers
Description: A set of matchers to assert a spy was called n times
Author: IML Team
Latest version: 2.1.1

jasmine-n-matchers
==================

[![Build Status](https://travis-ci.org/intel-hpdd/jasmine-n-matchers.svg?branch=master)](https://travis-ci.org/intel-hpdd/jasmine-n-matchers)

A set of matchers to assert a spy was called n times

The 2.0.0 release supports Jasmine 2.0. Everything earlier is for Jasmine 1.3.

## Usage

Make sure the jasmine-n-matchers.js file is executed early in your tests, it uses `beforeEach` to register the matchers.

## Example

```javascript
var spy = jasmine.createSpy('spy');

expect(spy).toHaveBeenCalledNTimes(0);

spy('foo', 'bar');

expect(spy).toHaveBeenCalledNTimes(1);
expect(spy).toHaveBeenCalledOnce();
expect(spy).toHaveBeenCalledOnceWith('foo', 'bar');

spy('foo', 'bar');

expect(spy).toHaveBeenCalledNTimes(2);
expect(spy).toHaveBeenCalledTwice();
expect(spy).toHaveBeenCalledTwiceWith('foo', 'bar');

spy('bar', 'baz');

expect(spy).toHaveBeenCalledNTimes(3);
expect(spy).toHaveBeenCalledThrice();
expect(spy).toHaveBeenCalledTwiceWith('foo', 'bar');
expect(spy).toHaveBeenCalledOnceWith('bar', 'baz');

spy('foo', 'bar');
spy('foo', 'bar');

expect(spy).toHaveBeenCalledNTimes(5);
expect(spy).toHaveBeenCalledNTimesWith(4, 'foo', 'bar');
npm package: @iml/lodash-mixins
Description: Mixins for Lo-Dash we find useful.
Author: IML Team
Latest version: 1.0.4

# lodash-mixins

[![Build Status](https://travis-ci.org/intel-hpdd/lodash-mixins.svg?branch=master)](https://travis-ci.org/intel-hpdd/lodash-mixins)
npm package: @iml/math
Description: Functional Math
Author: IML Team
Latest version: 6.0.1

# math

This module provides a stdlib of math methods.

[![Build Status](https://travis-ci.org/intel-hpdd/math.svg?branch=master)](https://travis-ci.org/intel-hpdd/math)

## Methods

### math.lte

```
(number -> number) -> boolean
```

### math.lt

```
(number -> number) -> boolean
```

### math.gt

```
(number -> number) -> boolean
```

### math.gte

```
(number -> number) -> boolean
```

### math.add

```
(number -> number) -> number
```

### math.minus

```
(number -> number) -> number
```

### math.times

```
(number -> number) -> number
```

### math.div

```
(number -> number) -> number|Infinity
```
npm package: @iml/maybe
Description: The Maybe datatype
Author: IML Team
Latest version: 3.1.0

## Maybe

[![Build Status](https://travis-ci.org/intel-hpdd/maybe.svg?branch=master)](https://travis-ci.org/intel-hpdd/maybe)

`Maybe` is a datatype that represents a value that may or may not be there. It is useful to explicitly model where a possible null type may occur. Once we wrap a value in `Maybe`, all future computations will be skipped if they are `null` (or `undefined`).
npm package: @iml/node-libzfs
Description: Neon bindings to libzfs
Author: IML Team
Latest version: 0.1.19

# node-libzfs

[![Build Status](https://copr.fedorainfracloud.org/coprs/managerforlustre/manager-for-lustre/package/iml-node-libzfs/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/managerforlustre/manager-for-lustre/package/iml-node-libzfs/)

Neon bindings to rust-libzfs

Implements a binding layer from node to [rust-libzfs](https://github.com/whamcloud/rust-libzfs/tree/master/libzfs) via [neon](https://github.com/neon-bindings/neon).

This allows native interop with libzfs. The current API has a small scope, but will expand over time as more use-cases arise.

## Prereqs

Since this is a native module via rust, there are a few build / install time dependencies.

-   Node.js
-   Rust
-   libzfs (installed to a place where `pkg-config` can find it)

This has only been tested with CentOS, but should work ok with other Linux distros.