Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

Commit

Permalink
renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 3, 2015
1 parent 25928f3 commit 2ec62ec
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
# parse-json
# json-parse-async

![Last version](https://img.shields.io/github/tag/Kikobeats/parse-json.svg?style=flat-square)
[![Build Status](http://img.shields.io/travis/Kikobeats/parse-json/master.svg?style=flat)](https://travis-ci.org/Kikobeats/parse-json)
[![Dependency status](http://img.shields.io/david/Kikobeats/parse-json.svg?style=flat-square)](https://david-dm.org/Kikobeats/parse-json)
[![Dev Dependencies Status](http://img.shields.io/david/dev/Kikobeats/parse-json.svg?style=flat-square)](https://david-dm.org/Kikobeats/parse-json#info=devDependencies)
[![NPM Status](http://img.shields.io/npm/dm/parse-json.svg?style=flat-square)](https://www.npmjs.org/package/parse-json)
![Last version](https://img.shields.io/github/tag/Kikobeats/json-parse-async.svg?style=flat-square)
[![Build Status](http://img.shields.io/travis/Kikobeats/json-parse-async/master.svg?style=flat)](https://travis-ci.org/Kikobeats/json-parse-async)
[![Dependency status](http://img.shields.io/david/Kikobeats/json-parse-async.svg?style=flat-square)](https://david-dm.org/Kikobeats/json-parse-async)
[![Dev Dependencies Status](http://img.shields.io/david/dev/Kikobeats/json-parse-async.svg?style=flat-square)](https://david-dm.org/Kikobeats/json-parse-async#info=devDependencies)
[![NPM Status](http://img.shields.io/npm/dm/json-parse-async.svg?style=flat-square)](https://www.npmjs.org/package/json-parse-async)
[![Gratipay](https://img.shields.io/gratipay/Kikobeats.svg?style=flat-square)](https://gratipay.com/~Kikobeats/)

> The missing JSON.parse async interface.
## Install

```bash
npm install parse-json --save
npm install json-parse-async --save
```

If you want to use in the browser (powered by [Browserify](http://browserify.org/)):

```bash
bower install parse-json --save
bower install json-parse-async --save
```

and later link in your HTML:

```html
<script src="bower_components/parse-json/dist/parse-json.js"></script>
<script src="bower_components/json-parse-async/dist/json-parse-async.js"></script>
```

## Usage

```js
var parseJSON = require('parse-json');
var parseJSON = require('json-parse-async');
var stringify = '{"foo":"bar"}';

// as callback interface
Expand Down
10 changes: 5 additions & 5 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "parse-json",
"name": "json-parse-async",
"description": "The missing JSON.parse async interface.",
"homepage": "https://github.com/Kikobeats/parse-json",
"homepage": "https://github.com/Kikobeats/json-parse-async",
"version": "1.0.1",
"main": "./dist/parse-json.js",
"main": "./dist/json-parse-async.js",
"authors": [
{
"name": "Kiko Beats",
"email": "josefrancisco.verdu@gmail.com",
"homepage": "https://github.com/Kikobeats"
}
],
"repository": "Kikobeats/parse-json",
"repository": "Kikobeats/json-parse-async",
"bugs": {
"url": "https://github.com/Kikobeats/parse-json/issues"
"url": "https://github.com/Kikobeats/json-parse-async/issues"
},
"keywords": [
"JSON",
Expand Down
4 changes: 2 additions & 2 deletions dist/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JSONParse</title>
<title>json-parse-async</title>
</head>
<body>
<script src="parse-json.js" type="text/javascript" charset="utf-8"></script>
<script src="json-parse-async.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
6 changes: 3 additions & 3 deletions dist/parse-json.js → dist/json-parse-async.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "parse-json",
"name": "json-parse-async",
"description": "The missing JSON.parse async interface.",
"homepage": "https://github.com/Kikobeats/parse-json",
"homepage": "https://github.com/Kikobeats/json-parse-async",
"version": "1.0.1",
"main": "./index.js",
"author": {
"name": "Kiko Beats",
"email": "josefrancisco.verdu@gmail.com",
"url": "https://github.com/Kikobeats"
},
"repository": "Kikobeats/parse-json",
"repository": "Kikobeats/json-parse-async",
"bugs": {
"url": "https://github.com/Kikobeats/parse-json/issues"
"url": "https://github.com/Kikobeats/json-parse-async/issues"
},
"keywords": [
"JSON",
Expand Down

0 comments on commit 2ec62ec

Please sign in to comment.