non-repeating-char
v1.0.0
Published
Find the first non-repeating character in a string.
Downloads
2
Readme
First Non-Repeating Character
This package provides a function to find the first non-repeating character in a string.
Installation
You can install this package via npm:
npm install non-repeating-char
Usage
const firstNonRepeatingChar = require('non-repeating-char');
const result = firstNonRepeatingChar('swiss');
console.log(result); // Output will be 'w'