New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-file-manager

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-file-manager

This is an Express middleware that provides a nice UI for editing files on the web.

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
46
increased by91.67%
Maintainers
1
Weekly downloads
 
Created
Source

express-file-manager

This is an Express middleware that provides a nice UI for editing files on the web.

Text files are opened/edited using Ace. The directory browser and image preview pages can accept drag-and-drop, and will upload files.

This is intended for use as an "admin interface". There is no security in this module - if you don't want the entire internet to be able to modify your folder, you should put in access control for the relevant subpaths;

Usage

var fileManager = require('express-file-manager');

app.use('/filemanager', fileManager(directory, options));

Options

  • options.textExtensions - a list of file extensions to be considered "text"
  • options.textTypes - a list of MIME types (string match or RegExp) to be considered "text".

By default, .gitignore files, and anything with a mime types like */json, */*+json, */xml, */*+xml and */javascript are considered text. MIME types that start with text/* are always considered text.

License

This project is MIT-licensed.

This package includes MIT-licensed content from open-iconic and Ace.

FAQs

Package last updated on 29 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc