open-index/open-npm huggingface dataset:
npm package: @rrc/service-rule-evaluator
Description: service rule evaluator
Author: wangshijun
Latest version: 3.2.0

# service-rule-evaluator [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
> service rule evaluator

## Installation

```sh
$ npm install --save @rrc/service-rule-evaluator
or
$ yarn add @rrc/service-rule-evaluator -S
```

## Usage

```js
const evaluator = require('@rrc/service-rule-evaluator');

// 判断是否匹配
evaluator.isMatch('123', { eq: 123 });     // true
evaluator.isMatch('123', { lte: 123 });    // true
evaluator.isMatch('123', { gte: 123 });    // true

// 解释和执行
evaluator.evaluate('count=count+1', { count: 20 });     // { count: 21 }
evaluator.evaluate('count=count  -1', { count: 20 };    // { count: 19 }
evaluator.evaluate('count=count*  3', { count: 20 });   // { count: 60 }
evaluator.evaluate('count=count  /  2', { count: 20 }); // { count: 10 }
evaluator.evaluate('count = Math.max(count/increment, increment*2);', { count: 20, increment: 2 });     // { count: 10 }
```

## License

MIT © [wangshijun](wangshijun2010@gmail.com)

[npm-image]: https://badge.fury.io/js/service-rule-evaluator.svg
[npm-url]: https://npmjs.org/package/service-rule-evaluator
[travis-image]: https://travis-ci.org/renrenche/service-rule-evaluator.svg?branch=master
[travis-url]: https://travis-ci.org/renrenche/service-rule-evaluator
[daviddm-image]: https://david-dm.org/renrenche/service-rule-evaluator.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/renrenche/service-rule-evaluator
[coveralls-image]: https://coveralls.io/repos/renrenche/service-rule-evaluator/badge.svg
[coveralls-url]: https://coveralls.io/r/renrenche/service-rule-evaluator
npm package: @rrc/vue-baidu-map
Description: Baidu Map Component for Vue 2.0
Latest version: 0.20.8

# VUE BAIDU MAP

> 修改了一个问题 提了pr 先发布来开发使用着。 请关照 原作者仓库。

<p align="center">
  <img src="https://dafrok.github.io/vue-baidu-map/favicon.png" width="200px">
</p>
<p align="center">Baidu Map components for Vue 2.x</p>

[![npm](https://img.shields.io/npm/v/vue-baidu-map.svg)]()
[![Travis](https://img.shields.io/travis/Dafrok/vue-baidu-map.svg)]()
[![Package Quality](http://npm.packagequality.com/shield/vue-baidu-map.svg)](http://packagequality.com/#?package=vue-baidu-map)
[![npm](https://img.shields.io/npm/dm/vue-baidu-map.svg)]()
[![license](https://img.shields.io/github/license/dafrok/vue-baidu-map.svg)]()

## Languages

- [中文](https://github.com/Dafrok/vue-baidu-map/blob/master/README.zh.md)
- [English](https://github.com/Dafrok/vue-baidu-map/blob/master/README.md)

## Documentation

[https://dafrok.github.io/vue-baidu-map](https://dafrok.github.io/vue-baidu-map)

## Get Start

### Installation

```bash
npm i --save vue-baidu-map
```

### Initialization

```javascript
import Vue from 'vue'
import BaiduMap from 'vue-baidu-map'

Vue.use(BaiduMap, {
  /* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */
  ak: 'YOUR_APP_KEY'
})
```

### Usage

```vue
<template>
  <baidu-map class="map">
  </baidu-map>
</template>

<style>
/* The container of BaiduMap must be set width & height. */
.map {
  width: 100%;
  height: 300px;
}
</style>
```

## Contributing

[Contributing Guide](https://github.com/Dafrok/vue-baidu-map/blob/master/CONTRIBUTING.md)


## License

[MIT License](https://opensource.org/licenses/MIT)

Copyright (c) 2016-present, Dafrok <o.o@mug.dog>