1.0.3 • Published 1 year ago

hashmo v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

hashmo

Create a file with hashed value obtained from timestamp.

Hashed value would look like 1901657805c or similar.

Install

npm install --save-dev hashmo

Examples

Generate file named hash.txt with encoded timestamp in root folder.

hashmo

Generate a PHP file named hash.php with encoded content in build folder.

hashmo --type=php --destination=./build/ --output=hash.php

Output file would look like:

<?php return "1901657805c";

Options

ArgumentDescription
-t, --type Output type (choices: "plaintext", "php", default: "plaintext")
-d, --destination Destination directory. Defaults to root directory.
-o, --output Output file name with extension (default: "hash.txt")
--rawKeep raw timestamp without encoding.
-v, --versionOutput the current version.
-h, --helpDisplay help for command.

Copyright and License

This project is licensed under MIT.

2024 © Nilambar Sharma.

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago