How to use rm-file - 1 common examples

To help you get started, we’ve selected a few rm-file examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LinusU / scandium / lib / builder.js View on Github external
  const cleanup = () => => path.join(directory, file)).forEach(rmFile.sync)
  const removeUnloadCleanupHandler = unload.add(cleanup)


Remove a file

Latest version published 2 years ago

Package Health Score

42 / 100
Full package analysis

Popular rm-file functions

Similar packages

Popular JavaScript code snippets

Find secure code to use in your application or website