Neat! Pickled Muskrat!

    sanitize-mail

    1.0.0 • Public • Published

    Sanitize mail

    A sanitize-html wrapper optimised for sanitising HTML for email clients

    Installation

    NPM

        npm i --save sanitize-mail

    Yarn

        yarn add sanitize-mail

    Usage

    Node

      const sanitizeMail = require('sanitize-mail');
     
      let html = '<h1>Hello world</h1><canvas></canvas>';
      let clean = sanitizeMail(html);
     
      console.log(clean); // Will output without canvas element

    Install

    npm i sanitize-mail

    DownloadsWeekly Downloads

    48

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    4.53 kB

    Total Files

    5

    Last publish

    Collaborators

    • truemedia