Neatly Packaged Modules

    mongoose-strip-html-tags

    0.0.1 • Public • Published

    mongoose-strip-html-tags

    Strip html tags from your model string attributes.

    Install:

    npm install mongoose-strip-html-tags --save
    

    Usage:

    var mongoose = require('mongoose');
    var Schema = mongoose.Schema;
    require('./mongoose-strip-html-tags')(mongoose);
    var company = new Schema({
        name: {
          type: String,
          stripHtmlTags: true
        }
      }
    );
    

    Install

    npm i mongoose-strip-html-tags

    DownloadsWeekly Downloads

    28

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • jamhall