Skip to content

Commit db4ed8c

Browse files
committed
change name to fs-router
1 parent ee490d2 commit db4ed8c

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# micro-router
1+
# fs-router
22
Use the FS as your micro router
3-
[![Build Status](https://travis-ci.org/jesseditson/micro-router.svg?branch=master)](https://travis-ci.org/jesseditson/micro-router)
4-
[![Coverage Status](https://coveralls.io/repos/github/jesseditson/micro-router/badge.svg?branch=master)](https://coveralls.io/github/jesseditson/micro-router?branch=master)
3+
[![Build Status](https://travis-ci.org/jesseditson/fs-router.svg?branch=master)](https://travis-ci.org/jesseditson/fs-router)
4+
[![Coverage Status](https://coveralls.io/repos/github/jesseditson/fs-router/badge.svg?branch=master)](https://coveralls.io/github/jesseditson/fs-router?branch=master)
55

66
### "features"
77

@@ -24,7 +24,7 @@ This is the simplest approach I could think of to create a flexible router that
2424
```javascript
2525
// index.js
2626
const { send } = require('micro')
27-
let match = require('micro-router')(__dirname + '/routes')
27+
let match = require('fs-router')(__dirname + '/routes')
2828

2929
module.exports = async function(req, res) {
3030
let matched = match(req)
@@ -40,7 +40,7 @@ const { send } = require('micro')
4040

4141
// respond to specific methods by exposing their verbs
4242
module.exports.GET = async function(req, res) {
43-
// micro-router decorates your req object with param and query hashes
43+
// fs-router decorates your req object with param and query hashes
4444
send(res, 200, { params: req.params, query: req.query })
4545
}
4646
```

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "micro-router",
2+
"name": "fs-router",
33
"version": "0.1.0",
44
"description": "Tiny router using the fs as paths",
55
"main": "index.js",
@@ -10,7 +10,7 @@
1010
},
1111
"repository": {
1212
"type": "git",
13-
"url": "git+https://github.com/jesseditson/micro-router.git"
13+
"url": "git+https://github.com/jesseditson/fs-router.git"
1414
},
1515
"keywords": [
1616
"router",
@@ -24,9 +24,9 @@
2424
"author": "Jesse Ditson <jesse.ditson@gmail.com>",
2525
"license": "BSD-3-Clause",
2626
"bugs": {
27-
"url": "https://github.com/jesseditson/micro-router/issues"
27+
"url": "https://github.com/jesseditson/fs-router/issues"
2828
},
29-
"homepage": "https://github.com/jesseditson/micro-router#readme",
29+
"homepage": "https://github.com/jesseditson/fs-router#readme",
3030
"devDependencies": {
3131
"coveralls": "^2.11.15",
3232
"nyc": "^10.0.0",

0 commit comments

Comments
 (0)