Installations
npm install unspray
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
8.1.1
NPM Version
5.0.3
Score
58.6
Supply Chain
73.5
Quality
68.4
Maintenance
25
Vulnerability
95.9
License
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
bernardop
Download Statistics
Total Downloads
966
Last Day
1
Last Week
1
Last Month
12
Last Year
82
GitHub Statistics
14 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
26.35 kB
Minified
8.95 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.0.1
Package Id
unspray@1.0.1
Size
3.34 kB
NPM Version
5.0.3
Node Version
8.1.1
Total Downloads
Cumulative downloads
Total Downloads
966
Last day
0%
1
Compared to previous day
Last week
-75%
1
Compared to previous week
Last month
500%
12
Compared to previous month
Last year
2.5%
82
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Unspray
A CLI for interacting with Unsplash.com
Installation
npm install -g unspray
or
yarn global add unspray
Configuration
Create a .unsprayrc
file in your home directory with your Unsplash.com Application ID. If you don't have an Application ID, you will need to create an Unsplash.com developer account and register an application.
{
"applicationID": "<YOUR_APPLICATION_ID_HERE>"
}
Usage
There are 3 commands available in unspray
Search
Search Unsplash.com for photos
unspray search -q "search query" -p 1 -r 5
Options
-q
or--query
- Search query (required)-p
or--page
- Page number to retrieve (optional; default: 1)-r
or--results-per-page
- Number of items per page (optional; default: 10)
Note: if you use iTerm2 v2.9+ you can see thumbnails of the results right in your terminal!
Save
Save a photo to your computer
unspray save -i "photo-id" -d "directory" -Q "quality"
Options
-i
or--photo-id
- Photo ID (optional; if not provided, a random photo is retrieved)-d
or--directory
- A directory relative to your home directory (optional; default: Desktop)-Q
or--quality
- Quality of photo to save (thumb
,small
,regular
,full
). (optional; default:regular
)
Set as wallpaper
Set a photo as your wallpaper
unspray set-wallpaper -i "photo-id" -d "directory" -Q "quality" -s "scale"
Options
-i
or--photo-id
- Photo ID (optional; if not provided, a random photo is retrieved)-d
or--directory
- A directory relative to your home directory (optional; default: Desktop)-Q
or--quality
- Quality of photo to save (thumb
,small
,regular
,full
). (optional; default:regular
)-s
or--scale
- Scaling method to use for the wallpaper (fill
,fit
,stretch
,center
). (optional; default:fill
)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/14 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
31 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2
- Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq
- Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm
- Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-p9w8-2mpq-49h9
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm
- Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574
- Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-4cpg-3vgw-4877
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-2m39-62fm-q8r3
- Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7
- Warn: Project is vulnerable to: GHSA-g7q5-pjjr-gqvp
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v
- Warn: Project is vulnerable to: GHSA-h6q6-9hqw-rwfv
- Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q
- Warn: Project is vulnerable to: GHSA-crh6-fp67-6883
Score
1.3
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More