hashmo
v1.0.3
Published
Generate hash file.
Downloads
10
Readme
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
| Argument | Description | | --- | --- | | -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") | | --raw | Keep raw timestamp without encoding. | | -v, --version | Output the current version. | | -h, --help | Display help for command. |
Copyright and License
This project is licensed under MIT.
2024 © Nilambar Sharma.