exrout 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -28,7 +28,7 @@ npm install exrout
28
28
  ES Modules
29
29
  ```js
30
30
  import express from "express";
31
- import autoRoutes from "express-auto-routes";
31
+ import autoRoutes from "exrout";
32
32
 
33
33
  const app = express();
34
34
 
@@ -39,7 +39,7 @@ app.listen(3000);
39
39
  CommonJS
40
40
  ```js
41
41
  const express = require("express");
42
- const autoRoutes = require("express-auto-routes");
42
+ const autoRoutes = require("exrout");
43
43
 
44
44
  const app = express();
45
45
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "exrout",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Automatically load and register Express routes from folder structure",
5
- "main": "dist/index.cjs.js",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
5
+ "main": "dist/cjs/index.js",
6
+ "module": "dist/esm/index.js",
7
+ "types": "dist/cjs/index.d.ts",
8
8
  "files": [
9
9
  "dist"
10
10
  ],