Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ciscospark/helper-html

Package Overview
Dependencies
Maintainers
6
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ciscospark/helper-html

HTML Utiltities

  • 0.7.0-alpha.a125535f
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
decreased by-21.74%
Maintainers
6
Weekly downloads
 
Created
Source

filterSync

!

Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file.

filterSync

Curried HTML filter.

Parameters

  • allowedTags Object Map of tagName -> array of allowed attributes
  • allowedStyles Array<string> Array of allowed styles
  • html string html to filter

Returns string

reduce

!

Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file.

filter

Curried async HTML filter.

Parameters

  • allowedTags Object Map of tagName -> array of allowed attributes
  • allowedStyles Array<string> Array of allowed styles
  • html string html to filter

Returns string

trim

Parameters

Returns string

escapeMe

!

Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file.

escape

Escapes HTML

Parameters

  • html [type]

Returns [type]

escapeSync

Synchronously escape HTML

Parameters

  • html [type]

Returns [type]

FAQs

Package last updated on 30 Jul 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc