New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongoose-strip-html-tags

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-strip-html-tags

Strip html tags from mongoose models

0.0.1
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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
    }
  }
);

Keywords

mongoose

FAQs

Package last updated on 13 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts