0.0.12 • Published 7 years ago

node-file-explorer v0.0.12

Weekly downloads
16
License
ISC
Repository
github
Last release
7 years ago

NodeExplorer

Backend file explore with node (useful when you can't manage files in your server directly) / Demo made with Angular 2

Installing

npm install node-file-explorer

Using on backend

let fileExplorer = require('node-file-explorer');
fileExplorer.set(app, {PREFIX}, {ROOT_PATH});

Where:

Using the demo on frontend

If something as simple as this demo is enough for your needs:

On your app.module.ts:

import { NFEModule } from 'node-file-explorer/demo/src/app/app.module';

@NgModule({
  declarations: [
    ...
  ],
  imports: [
    NFEModule.forRoot('{INSERT YOUR URL HERE WITH THE PREFIX}/'),
    ...
  ],
  providers: [
    ...
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

Next steps:

  • Provide a middleware method for all routes
  • Fix images of demo
0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago