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

@coolgk/string

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coolgk/string - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

LICENSE

2

package.json

@@ -1,1 +0,1 @@

{"name":"@coolgk/string","version":"2.0.3","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/utils","bugs":{"url":"https://github.com/coolgk/node-utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/node-utils.git"},"description":"string utility functions","keywords":["stripTags","escapeHtml","unescapeHtml","prepad0","typescript"],"pre-commit":{"silent":false,"run":["tslint","test:precommit"]},"main":"./string.js","types":"./string.d.ts","license":"MIT"}
{"name":"@coolgk/string","version":"2.0.4","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://github.com/coolgk/node-utils","bugs":{"url":"https://github.com/coolgk/node-utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/node-utils.git"},"description":"string utility functions","keywords":["stripTags","escapeHtml","unescapeHtml","prepad0","typescript"],"main":"./string.js","types":"./string.d.ts","license":"MIT"}

@@ -8,2 +8,4 @@

string utility functions
Report bugs here: [https://github.com/coolgk/node-utils/issues](https://github.com/coolgk/node-utils/issues)
## Examples

@@ -10,0 +12,0 @@ ```javascript

/*!
* @package @coolgk/utils
* @version 2.0.3
* @link https://www.npmjs.com/package/@coolgk/utils
* @version 2.1.5
* @link https://github.com/coolgk/node-utils
* @license MIT
* @author Daniel Gong <daniel.k.gong@gmail.com>
*
* Copyright (c) 2017 Daniel Gong <daniel.k.gong@gmail.com>. All rights reserved.
* Licensed under the MIT License.
*/
/*!
* Copyright (c) 2017 Daniel Gong <daniel.k.gong@gmail.com>. All rights reserved.
* Licensed under the MIT License.
*/
export declare function stripTags(value?: string): string;

@@ -9,0 +17,0 @@ export declare function escapeHtml(value?: string): string;

/*!
* @package @coolgk/utils
* @version 2.0.3
* @link https://www.npmjs.com/package/@coolgk/utils
* @version 2.1.5
* @link https://github.com/coolgk/node-utils
* @license MIT
* @author Daniel Gong <daniel.k.gong@gmail.com>
*
* Copyright (c) 2017 Daniel Gong <daniel.k.gong@gmail.com>. All rights reserved.
* Licensed under the MIT License.
*/
"use strict";
/*!
* Copyright (c) 2017 Daniel Gong <daniel.k.gong@gmail.com>. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -10,0 +18,0 @@ function stripTags(value = '') {

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