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

name-initials

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

name-initials - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "name-initials",
"version": "0.1.2",
"version": "0.1.3",
"description": "A JavaScript utility library to extract initials from names.",

@@ -5,0 +5,0 @@ "main": "lib/name-initials.js",

@@ -38,7 +38,24 @@ # name-initials

# Specifications
See the ````__tests__```` directory on the GitHub repository.
# Input => Output
* E. => E
* Eric => E
* E. Vera => EV
* Eric V. => EV
* Eric A. E. => EA
* Eric A. E. Vera => EV
* Eric A. Vera => EV
* Eric A. Vera Perez => EV
* Eric Vera-Perez => EV
* Eric A. Vera-Perez => EV
* Eric Vera Perez => EV
* Eric A. de Vera Perez => ED
* Eric A. de Vera-Perez => ED
* Eric A. Perez-de Vera => EP
* Eric A. Perez de Vera => EP
* Eric (Instructor Somewhere) => E
* Éric Vera => ÉV
* Vera-Perez => VP
* Eric "No Nickname" Vera => E
# License
[MIT](https://github.com/ericvera/name-initials/blob/master/LICENSE)
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