non-repeating-char

1.0.0 • Public • Published

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'

/non-repeating-char/

    Package Sidebar

    Install

    npm i non-repeating-char

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.07 kB

    Total Files

    4

    Last publish

    Collaborators

    • meterai07