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

entity-convert

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

entity-convert - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

2

entityconvert.js

@@ -13,3 +13,2 @@ function replacer(mode){

function replaceBy(mode){
return function(string){

@@ -23,3 +22,2 @@ var fn = replacer(mode);

};
}

@@ -26,0 +24,0 @@

4

package.json
{
"name": "entity-convert",
"version": "0.0.0",
"version": "0.0.1",
"description": "convert all special characters in a string to their corresponding HTML and CSS entities",
"main": "entityconvert.js",
"repository": "https://github.com/m90/entity-convert.git",
"homepage": "https://github.com/m90/entity-convert",
"issues": "https://github.com/m90/entity-convert/issues",
"keywords": [

@@ -8,0 +10,0 @@ "string",

@@ -8,3 +8,3 @@ # entityconvert.js

```javascript
require(['entities'], function(entityconvert){
require(['entityconvert'], function(entityconvert){
var converted = entityconvert.html('We äll löve Ümläutß!');

@@ -17,3 +17,3 @@ // => We äll löve Ümläutß!

```javascript
var entityconvert = require('entityconvert');
var entityconvert = require('entity-convert');
var converted = entityconvert.css('We äll löve Ümläutß!');

@@ -20,0 +20,0 @@ // => We \00e4ll l\00f6ve \00dcml\00e4ut\00df!

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