Acme.BookStore.HttpApi.Host/node_modules/snapdragon-util/README.md
(开头部分) 20KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
# snapdragon-util [](https://www.npmjs.com/package/snapdragon-util) [](https://npmjs.org/package/snapdragon-util) [](https://npmjs.org/package/snapdragon-util) [](https://travis-ci.org/jonschlinkert/snapdragon-util)
> Utilities for the snapdragon parser/compiler.
<details>
<summary><strong>Table of Contents</strong></summary>
- [Install](#install)
- [Usage](#usage)
- [API](#api)
- [Release history](#release-history)
* [[3.0.0] - 2017-05-01](#300---2017-05-01)
* [[0.1.0]](#010)
- [About](#about)
</details>
## Install
Install with [npm](https://www.npmjs.com/):
```sh
$ npm install --save snapdragon-util
```
Install with [yarn](https://yarnpkg.com):
```sh
$ yarn add snapdragon-util
```
## Usage
```js
var util = require('snapdragon-util');
```
## API
### [.isNode](index.js#L21)
Returns true if the given value is a node.
**Params**
* `node` **{Object}**: Instance of [snapdragon-node](https://github.com/jonschlinkert/snapdragon-node)
* `returns` **{Boolean}**
**Example**
```js
var Node = require('snapdragon-node');
var node = new Node({type: 'foo'});
console.log(utils.isNode(node)); //=> true
console.log(utils.isNode({})); //=> false
```
### [.noop](index.js#L37)
Emit an empty string for the given `node`.
后面还有 747 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
