JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 94515
  • Score
    100M100P100Q165942F
  • License MIT

Uppercase first character of each element in arrays of strings.

Package Exports

  • uc-first-array

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (uc-first-array) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

uc-first-array Support this project

Uppercase first character of each element in arrays of strings.

Installation

$ npm i uc-first-array

Example

// Dependencies
const ucFirstArray = require("uc-first-array");

console.log(ucFirstArray(["foo", "bar", "Baz"]));
// => [ 'Foo', 'Bar', 'Baz' ]

Documentation

ucFirstArray(input)

Uppercase first character of each element in arrays of strings.

Params

  • Array input: The input array of strings.

Return

  • Array An array of strings having first characters uppercase.

How to contribute

Have an idea? Found a bug? See how to contribute.

Where is this library used?

If you are using this library in one of your projects, add it in this list. ✨

License

MIT © Ionică Bizău