Nit-Picking Magistrate

    @lukeboyle/get-filename-from-path

    1.0.3 • Public • Published

    get-filename-from-path

    Usage

    import getFilenameFromPath from '@lukeboyle/get-filename-from-path';
    
    getFilenameFromPath('/some/path/some-file.js');
    
    // => 'some-file'

    API

    getFilenameFromPath

    Arguments

    • path

    Return value

    • filename - The filename extracted from the path provided in argument one

    Keywords

    none

    Install

    npm i @lukeboyle/get-filename-from-path

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • lukeboyle