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

esrever

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esrever

A fully Unicode-aware string reverser written in JavaScript.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
227K
increased by15.91%
Maintainers
1
Weekly downloads
 
Created

What is esrever?

The esrever npm package is a simple utility for reversing strings. It handles Unicode characters correctly, ensuring that characters such as emojis and other multi-byte characters are reversed properly.

What are esrever's main functionalities?

Reverse a string

This feature allows you to reverse a given string. The example demonstrates reversing the string 'Hello, world!' to '!dlrow ,olleH'.

const esrever = require('esrever');
const reversed = esrever.reverse('Hello, world!');
console.log(reversed); // Output: '!dlrow ,olleH'

Reverse a string with Unicode characters

This feature ensures that Unicode characters are handled correctly when reversing a string. The example shows reversing the string 'Hello, 🌍!' to '!🌍 ,olleH'.

const esrever = require('esrever');
const reversed = esrever.reverse('Hello, 🌍!');
console.log(reversed); // Output: '!🌍 ,olleH'

Other packages similar to esrever

Keywords

FAQs

Package last updated on 26 Jan 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

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