UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

12 lines 302 B
/** * Get name of a file from a given path * @param {string} path * @returns {string} * * @example * 'a/b/c.txt' -> 'c' * 'hello.txt' -> 'hello' * 'http://meep.com/index.html' -> 'index' */ export function computeFileName(path: string): string; //# sourceMappingURL=computeFileName.d.ts.map