node-ecstatic icon indicating copy to clipboard operation
node-ecstatic copied to clipboard

A static file server middleware that works with core http, express or on the CLI!

Results 37 node-ecstatic issues
Sort by recently updated
recently updated
newest added

As addressed in #235 , `baseDir` is eliminated and mounting is supported to achieve the same purpose. Instead of `app.use(ecstatic({.., baseDir: "a"}));`, we now do: `app.use('/a', ecstatic({..}));`.

The directory structure of this module is basically exactly what nodejitsu was using in 2011/2012. Things have changed! It would be cool, for instance, if instead of `require('ecstatic').mime` you could...

I have reasons to believe that the charset library that's intended to guess at charsets for content-types is actually just trying to parse them out of the existing content-type mimetype...

airbnb linting rules are a moving target, and it's currently making it difficult to upgrade the airbnb rules - which in turn is making it difficult to upgrade eslint! We're...

I was trying to use Ecstatic (via http-server) to serve Angular's ES2015 modules. This means serving with `.js` default extension. I had problems because they have some files named e.g....

Windows 10 zip function. I suggest renaming this file to something not including special characters (which seems a good idea in any way)

This is a convention I think makes a lot of sense for single page applications, when a URL doesn't match anything. - First check for `/200.html` and serve that with...

I don't know if I'm the only one who needs this, but because ecstatic is my main development server, I often wish I could see the requests in the console....

@jfhbrook Now, view directory page generate by concatenation strings, so code for `openDir` a bit complicated for perception. Maybe better use template page? For example, concept of part of "handlebars"...

I understand this may not be the intended use, but I often use this to share files on the local network. Would be very useful in that case.