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

strman.transliterate

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strman.transliterate - npm Package Compare versions

Comparing version 2.0.0-pre-release-0 to 2.0.0

29

index.js

@@ -8,9 +8,26 @@ var ascii = require('strman.ascii')

/**
* @module transliterate
* @description
* Remove all non valid characters. Example: change á => a or ẽ => e.
* @playground
* var transliterate = require('strman').transliterate;
* let title = "strmáñ";
* let result = transliterate(title);
* @param {String} value - The String!.
* @return {String} - String without non valid characters.
* ## Install
* Install all functions of strman
* ```sh
* yarn add strman
* ```
* or just the transliterate function
* ```sh
* yarn add strman.transliterate
* ```
* ## Usage
* ```javascript
* import { transliterate } from 'strman'
* // OR
* import transliterate from 'strman.transliterate'
* ```
* @param {String} value - The String!
* @example
* const title = 'strmáñ'
* transliterate(title)
* // => 'strman'
* @returns {String} String without non valid characters.
*/

@@ -17,0 +34,0 @@ exports.default = function (value) {

{
"name": "strman.transliterate",
"version": "2.0.0-pre-release-0",
"version": "2.0.0",
"description": "The [strman](https://github.com/dleitee/strman) method `transliterate` exported as a [Node.js](https://nodejs.org/) module.",

@@ -20,4 +20,4 @@ "main": "index.js",

"dependencies": {
"strman.ascii":"2.0.0-pre-release-0",
"strman.replace":"2.0.0-pre-release-0"
"strman.ascii":"2.0.0",
"strman.replace":"2.0.0"
},

@@ -24,0 +24,0 @@ "author": "Daniel Leite de Oliveira <dleitee@gmail.com>",

# strman.transliterate v2.0.0-pre-release-0
# strman.transliterate v2.0.0

@@ -4,0 +4,0 @@ The [strman](https://github.com/dleitee/strman) method `transliterate` exported as a [Node.js](https://nodejs.org/) module.

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