Skip to content

Commit a070ca2

Browse files
committed
Rename to unist-util-inspect
1 parent 03c2de1 commit a070ca2

File tree

9 files changed

+34
-28
lines changed

9 files changed

+34
-28
lines changed

.eslintignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ build/
22
components/
33
coverage/
44
build.js
5-
retext-inspect.js
6-
retext-inspect.min.js
5+
unist-util-inspect.js
6+
unist-util-inspect.min.js

.jscs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"coverage/",
66
"node_modules/",
77
"build.js",
8-
"retext-inspect.js",
9-
"retext-inspect.min.js"
8+
"unist-util-inspect.js",
9+
"unist-util-inspect.min.js"
1010
],
1111
"jsDoc": {
1212
"checkAnnotations": "jsdoc3",

bower.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
2-
"name": "retext-inspect",
3-
"main": "retext-inspect.js",
4-
"description": "Retext node inspector",
2+
"name": "unist-util-inspect",
3+
"main": "unist-util-inspect.js",
4+
"description": "Unist node inspector",
55
"license": "MIT",
66
"keywords": [
77
"retext",
8+
"mdast",
9+
"unist",
810
"inspect"
911
],
1012
"repository": {
1113
"type": "git",
12-
"url": "https://github.com/wooorm/retext-inspect.git"
14+
"url": "https://github.com/wooorm/unist-util-inspect.git"
1315
},
1416
"authors": [
1517
"Titus Wormer <[email protected]>"

component.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
2-
"name": "retext-inspect",
2+
"name": "unist-util-inspect",
33
"version": "0.4.2",
4-
"description": "Retext node inspector",
4+
"description": "Unist node inspector",
55
"license": "MIT",
66
"keywords": [
77
"retext",
8+
"mdast",
9+
"unist",
810
"inspect"
911
],
1012
"dependencies": {
1113
"ianstormtaylor/is-empty": "0.0.1"
1214
},
13-
"repository": "wooorm/retext-inspect",
15+
"repository": "wooorm/unist-util-inspect",
1416
"scripts": [
1517
"index.js"
1618
]

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
2-
"name": "retext-inspect",
2+
"name": "unist-util-inspect",
33
"version": "0.4.2",
4-
"description": "Retext node inspector",
4+
"description": "Unist node inspector",
55
"license": "MIT",
66
"keywords": [
77
"retext",
8+
"mdast",
9+
"unist",
810
"inspect"
911
],
1012
"dependencies": {
@@ -15,7 +17,7 @@
1517
],
1618
"repository": {
1719
"type": "git",
18-
"url": "https://github.com/wooorm/retext-inspect.git"
20+
"url": "https://github.com/wooorm/unist-util-inspect.git"
1921
},
2022
"author": "Titus Wormer <[email protected]>",
2123
"devDependencies": {
@@ -46,8 +48,8 @@
4648
"lint": "npm run lint-api && npm run lint-style",
4749
"make": "npm run lint && npm run test-coverage",
4850
"build-md": "mdast .",
49-
"build-bundle": "browserify index.js --bare -s retextInspect > retext-inspect.js",
50-
"postbuild-bundle": "esmangle retext-inspect.js > retext-inspect.min.js",
51+
"build-bundle": "browserify index.js --bare -s unistUtilInspect > unist-util-inspect.js",
52+
"postbuild-bundle": "esmangle unist-util-inspect.js > unist-util-inspect.min.js",
5153
"build": "npm run build-md && npm run build-bundle"
5254
}
5355
}

readme.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
1-
# retext-inspect [![Build Status](https://img.shields.io/travis/wooorm/retext-inspect.svg)](https://travis-ci.org/wooorm/retext-inspect) [![Coverage Status](https://img.shields.io/codecov/c/github/wooorm/retext-inspect.svg)](https://codecov.io/github/wooorm/retext-inspect?branch=master)
1+
# unist-util-inspect [![Build Status](https://img.shields.io/travis/wooorm/unist-util-inspect.svg)](https://travis-ci.org/wooorm/unist-util-inspect) [![Coverage Status](https://img.shields.io/codecov/c/github/wooorm/unist-util-inspect.svg)](https://codecov.io/github/wooorm/unist-util-inspect?branch=master)
22

3-
[**retext**](https://github.com/wooorm/retext) node inspector.
3+
[Unist](https://github.com/wooorm/unist) node inspector.
44

55
## Installation
66

77
[npm](https://docs.npmjs.com/cli/install):
88

99
```bash
10-
npm install retext-inspect
10+
npm install unist-util-inspect
1111
```
1212

1313
[Component.js](https://github.com/componentjs/component):
1414

1515
```bash
16-
component install wooorm/retext-inspect
16+
component install wooorm/unist-util-inspect
1717
```
1818

1919
[Bower](http://bower.io/#install-packages):
2020

2121
```bash
22-
bower install retext-inspect
22+
bower install unist-util-inspect
2323
```
2424

2525
[Duo](http://duojs.org/#getting-started):
2626

2727
```javascript
28-
var inspect = require('wooorm/retext-inspect');
28+
var inspect = require('wooorm/unist-util-inspect');
2929
```
3030

31-
**retext-inspect** is also available for [bower](http://bower.io/#install-packages),
31+
**unist-util-inspect** is also available for [bower](http://bower.io/#install-packages),
3232
[component](https://github.com/componentjs/component), [duo](http://duojs.org/#getting-started),
33-
and for AMD, CommonJS, and globals ([uncompressed](retext-inspect.js) and
34-
[compressed](retext-inspect.min.js)).
33+
and for AMD, CommonJS, and globals ([uncompressed](unist-util-inspect.js) and
34+
[compressed](unist-util-inspect.min.js)).
3535

3636
## Usage
3737

3838
```javascript
3939
var retext = require('retext');
40-
var inspect = require('retext-inspect');
40+
var inspect = require('unist-util-inspect');
4141

4242
retext().use(function (cst) {
4343
console.log(inspect(cst));

retext-inspect.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

retext-inspect.js renamed to unist-util-inspect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.retextInspect = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
1+
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.unistUtilInspect = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
22
'use strict';
33

44
/*

unist-util-inspect.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)