Napoleonic Political Magnificence

    changechar

    1.0.1 • Public • Published

    ChangeChar()

    A utility function to change charracter of a string's specific index

    const ChangeChar = require('ChangeChar')
     
    let a = 'Rayhan'
     
    console.log(ChangeChar(a, 0, 'E'))
     
    // Output: Eayhan

    Also can import via es6 import statement

    import ChangeChar from 'ChangeChar'

    Install

    npm i changechar

    DownloadsWeekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    921 B

    Total Files

    4

    Last publish

    Collaborators

    • avatar