1.0.1 • Published 2 years ago

@guildadev/get-initials v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Introduction

This package provides a function to remove nil keys from a map.

Installation

´´´bash yarn add @guidadev/get-initials ´´´

or

´´´bash npm install @guidadev/get-initials ´´´

Usage

Here's how you can start using @guidadev/get-initials in your projects:

import getInitials from '@guildadev/get-initials';

const someNull = null
const someUndefined = undefined

getInitials('Guilda Dev') // GD
getInitials(someNull, 'GD') // GD
getInitials(someUndefined, 'GD') // GD
1.0.1

2 years ago

1.0.0

2 years ago