Analysis updated 2026-08-16 · repo last pushed 2017-06-30
Create placeholder files in a build script without writing boilerplate code.
Mark or refresh file timestamps in an automated backup or sync tool.
Use the nodetouch CLI in a Node-based dev workflow just like the standard Unix touch command.
| shalithasuranga/node-touch | 00kaku/gallery-slider-block | 0verflowme/weirdhta | |
|---|---|---|---|
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2017-06-30 | 2021-05-19 | 2022-06-16 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Install via npm and either import the functions or use the nodetouch CLI, no external dependencies or configuration needed.
node-touch brings the familiar Unix touch command into the JavaScript world. If you've ever used a Mac or Linux terminal, touch is that handy utility that creates empty files or updates the timestamps on existing ones. This package lets you do exactly the same thing, but from within a Node.js program or as a standalone command-line tool. At a high level, the package does two things. First, it gives you a command-line tool called nodetouch that behaves almost identically to the standard Unix version. Second, it provides a set of functions you can import directly into your JavaScript code. These functions let you create a file if it doesn't exist, or update its "last accessed" and "last modified" dates if it does. You can run these operations either asynchronously (letting your program continue while it works) or synchronously (pausing everything until the file is ready). This tool is useful for developers building applications that need to manage files programmatically. For example, if you are building a build script that needs to create placeholder files, or an automated backup tool that needs to "touch" a file to mark when it was last checked, this package handles that cleanly. It also supports familiar options like setting a custom date on a file, copying the timestamp from another file, or ensuring a file is only updated and not created if it's missing. The project's main tradeoff is simplicity and familiarity. It doesn't reinvent file management, it just makes a standard, decades-old tool available in a modern JavaScript environment.
node-touch brings the classic Unix touch command to JavaScript. It lets you create empty files or update file timestamps from within Node.js code or via a command-line tool called nodetouch.
Mainly JavaScript. The stack also includes JavaScript, Node.js.
Dormant — no commits in 2+ years (last push 2017-06-30).
No license information was provided in the explanation, so the usage rights are unknown.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.