first-char

Get first character of string

Usage no npm install needed!

<script type="module">
  import firstChar from 'https://cdn.skypack.dev/first-char';
</script>

README

first-char

Build Status

Get first-char from a string

Installation

npm install --save first-char

Usage

require('first-char')

console.log("Foo bar".firstChar)

License

MIT License