fastify-ie-no-open
v0.2.1
Published
Fastify plugin to prevent Internet Explorer from executing downloads
Downloads
7
Maintainers
Readme
fastify-ie-no-open
Fastify plugin to prevent Internet Explorer from executing downloads
Why?
You may know ie-no-open as a ie-no-open middleware used in helmet. And you could use it as a middleware in fastify also. So why i made this plugin?
You may find the reason in benchmark result and wish you like it. :)
Install
Via npm:
npm i fastify-ie-no-open
Via yarn:
yarn add fastify-ie-no-open
Usage
const fastify = require('fastify');
const fastifyIeNoOpen = require('fastify-ie-no-open');
const app = fastify();
app.register(fastifyIeNoOpen);
app.listen(3000, err => {
if (err) throw err;
});
Changelog
- 0.2.0
- Add test case
- Add code coverage
- Add benchmarks
- 0.1.0:
- Init version