Skip to content

Commit

Permalink
fixed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha GRASSO committed Dec 29, 2017
1 parent 7043e23 commit 1b11bfc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ then when configuring your server with node and express:

```typescript
// import and assign the Route Object Constructor
let Router = require('universal-node-router/dist');
let Router = require('universal-node-router');
// create new Object Router with context as parameter
let router = new Router(__dirname);
// tell Express to use it as target for your endpoints
Expand Down Expand Up @@ -55,12 +55,7 @@ If you want to help with anything, unit tests, methods... Submit a pull request
You can also post issues if I ever miss something.

## In Development :
- [X] A better management of the context for the require
- [X] A better handling of request (GetCollection vs GetOne)
- [X] Migrated to Typescript.
- [ ] Maybe remove all of the previous JS files.
- [X] Handle errors, unknown requests or undefined controllers.
- [ ] More tests to cover 100% of the code - currently at 22%
- [ ] GlobalModulesIndexer - make sure the correct index.js is imported
- [ ] A config file to use custom method names
- [ ] More tests to cover 100% of the code
- [ ] A webpack plugin for modern projects (dynamic require doesn't work yet...)

0 comments on commit 1b11bfc

Please sign in to comment.