Skip to content

Commit 80b68cb

Browse files
authored
Merge pull request #1 from hhsnopek/fix-links/description
fix badage links & update description
2 parents 77a7378 + f71c2e7 commit 80b68cb

File tree

2 files changed

+9
-19
lines changed

2 files changed

+9
-19
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-frame",
33
"version": "1.0.0",
4-
"description": "Got an error, give me the src/line/col and I'll frame it for you.",
4+
"description": "Minimal Code Frame like babel-code-frame, but smaller",
55
"main": "lib/index.js",
66
"scripts": {
77
"test": "npm run lint && nyc ava",

readme.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
# Code Frame
2-
[![Travis]]()
3-
[![Coveralls]]()
4-
[![NPM]]()
5-
[![L]][MIT]
1+
# Code Frame [![npm](https://img.shields.io/npm/v/code-frame.svg?style=flat-square)](https://npmjs.com/package/code-frame) [![tests](https://img.shields.io/travis/hhsnopek/code-frame.svg?style=flat-square)](https://travis-ci.org/hhsnopek/code-frame?branch=master) [![coverage](https://img.shields.io/coveralls/hhsnopek/code-frame.svg?style=flat-square)](https://coveralls.io/r/hhsnopek/code-frame?branch=master)
2+
> Minimal Code Frame like babel-code-frame, but smaller
63
7-
Minimal Code Frame like babel-code-frame, but smaller
4+
## Install
5+
```bash
6+
npm install --save code-frame
7+
```
88

99
## Usage
10-
1110
```javascript
1211
const framer = require('code-frame')
1312

@@ -29,14 +28,5 @@ framer('\n\n\tconsole.logfoo, bar)', 3)
2928
// 4. |
3029
```
3130

32-
## Development
33-
requirements:
34-
- node: 6.0 >=
35-
36-
cmds: `npm test`
37-
38-
[Travis]: //img.shields.io/travis/hhsnopek/code-frame.svg?maxAge=2592000?style=flat-square
39-
[Coveralls]: //img.shields.io/coveralls/hhsnopek/code-frame.svg?maxAge=2592000?style=flat-square
40-
[NPM]: //img.shields.io/npm/hhsnopek/code-frame.svg?maxAge=2592000?style=flat-square
41-
[L]: //img.shields.io/npm/l/code-frame.svg?maxAge=2592000
42-
[MIT]: license.md
31+
## License
32+
MIT © [Henry Snopek](https://hhsnopek.com)

0 commit comments

Comments
 (0)