fastify-ie-no-open

0.2.1 • Public • Published

fastify-ie-no-open

Build Status Code coverage Code style Dependency Status Dev Dependency Status NPM version NPM downloads NPM license

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

Package Sidebar

Install

npm i fastify-ie-no-open

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

5.14 kB

Total Files

4

Last publish

Collaborators

  • poppinl