Web lists-archives.com

Bug#860471: ITP: node-cached-path-relative -- Memoize the results of the path.relative function




Package: wnpp
Severity: wishlist
Owner: rouca@xxxxxxxxxx
X-Debbugs-CC: debian-devel@xxxxxxxxxxxxxxxx

* Package name    : node-cached-path-relative
  Version         : 1.0.1
  Upstream Author : Andrew Shaffer
* URL             : https://github.com/ashaffer/cached-path-relative#readme
* License         : Expat
  Programming Lang: JavaScript
  Description     : Memoize the results of the path.relative function

 path.relative function can be an expensive operation
 if it happens a lot, and its results have a low probability to
 change for the same arguments.
 .
 This module thus cache (memoize) the result of path.relative,
 in order to speed of browserify.
 .
 Node.js is an event-based server-side JavaScript engine.