Skip to content

v0.1.10: enhancement to web archiving

Choose a tag to compare

@thautwarm thautwarm released this 20 Jul 00:07
· 7 commits to main since this release
  • build parameter is now optional to NM.target
  • nomake help now does not show Options: if there are no options.
  • adding Path.extensions() method to return all extensions of a file path.
  • adding the following path string converters for their extreme frequent use in any project.
    • NM.fixExePath(string, OS): NM.fixExePath('a', 'windows') -> a.exe
    • NM.fixDllPath(string, OS):
      NM.fixDllPath('libaa.so.8', 'linux') -> libaa.so.8,
      NM.fixDllPath('libaa.8', 'linux') -> libaa.8.so.
    • NM.fixHostDllPath(string): NM.fixHostDllPath(a) == NM.fixDllPath(a, NM.Platform.currentOS)
    • NM.fixHostExePath(string)
  • adding NM.urlToValidFileName() for converting a URL to a short & valid file name.
  • NM.webArchive now uses urlToValidFileName to generate unique names for downloadeded files.