Comparing version 0.0.1 to 0.0.2
@@ -6,3 +6,3 @@ { | ||
"tags" : ["fs", "file", "fileify", "datauri", "pbcopy", "xclip"], | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"homepage": "https://github.com/dandean/gimmeuri", | ||
@@ -13,3 +13,3 @@ "repository": { | ||
}, | ||
"bin" : { "gimmeuri" : "./bin/gimmeuri" }, | ||
"bin" : { "gimmeuri" : "./bin/gimmeuri.js" }, | ||
"dependencies": { | ||
@@ -16,0 +16,0 @@ "mime": "1.2.5", |
I thought you might like a data uri. | ||
==================================== | ||
`gimmeuri` gets you the datauri for a single file. That's it. | ||
`gimmeuri` gets you the datauri for a single file and copies it to your clipboard, or optionally saves it to a file. That's it. | ||
@@ -10,14 +10,40 @@ | ||
Copy the datauri for a file to your clipboard: | ||
gimmeuri path/to/file | ||
Advanced Usage: | ||
--------------- | ||
Usage: gimmeuri [options] <file> | ||
Options: | ||
-m, --max [bytes] maximum file size to process (1048576) | ||
-s, --save-path [path] path to save the daturi | ||
-V, --version output the version number | ||
-h, --help output usage information | ||
**Save Path** | ||
`gimmeuri` copies the specified file's data uri to the clipboard by default. It will instead be written to `--save-path`, if provided. | ||
**Max File Size** | ||
`gimmeuri` will exit(1) if the specified file is larger than the maximum file size. The default is 1048576 (1 megabyte), but can be overridden with the `--max` option. | ||
TODO: | ||
----- | ||
1. Make it not suck | ||
Provide a interface in JavaScript so you can use `gimmeuri` like this: | ||
require('gimmeuri')(path, cb); | ||
License: | ||
-------- | ||
MIT. | ||
MIT |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
56348
5
88
49
1