Gathering detailed insights and metrics for cocoa
Gathering detailed insights and metrics for cocoa
Gathering detailed insights and metrics for cocoa
Gathering detailed insights and metrics for cocoa
cocoa-logger
Wrapper to winston logger dependencies
@snyk/snyk-cocoapods-plugin
Snyk CLI CocoaPods plugin
cocoa-config
Wrapper to yaml dependencies to serialize and deserialize objects into yaml files
@snyk/cocoapods-lockfile-parser
Generate a Snyk dependency graph from a Podfile.lock file
npm install cocoa
Typescript
Module System
Min. Node Version
Node Version
NPM Version
40.6
Supply Chain
50
Quality
68.4
Maintenance
25
Vulnerability
95.8
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
12,373
Last Day
2
Last Week
35
Last Month
101
Last Year
862
6 Stars
54 Commits
2 Forks
4 Watching
2 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
4.0.1
Package Id
cocoa@4.0.1
Size
6.55 kB
NPM Version
5.3.0
Node Version
8.2.1
Cumulative downloads
Total Downloads
Last day
100%
2
Compared to previous day
Last week
2.9%
35
Compared to previous week
Last month
215.6%
101
Compared to previous month
Last year
-12.9%
862
Compared to previous year
4
cocoa
is a service which can generate 1 or many passwords using a mnemonic word list, and email you the result(s).
The password(s) is not logged, or saved anywhere.
cocoa
can be up and running in 3 steps! When run in a production environment, it's recommended that you use NGINX
to terminate SSL, and reverse proxy to cocoa
. Using a daemon like upstart
(on Linux) to run cocoa
is ideal.
npm
:
$ npm install cocoa
$ ln -s node_modules/cocoa/config.json config.json
$ ln -s node_modules/cocoa/index.js index.js
config.json
to configure your email server, etc.node index.js
.Use the provided upstart recipe: sudo sh -c 'cp node_modules/cocoa/cocoa.conf /etc/init; service cocoa start;'
Use the provided systemd service: sudo sh -c 'cp node_modules/cocoa/cocoa.service /etc/systemd/system; systemctl enable cocoa; systemctl start cocoa;'
It runs great on Windows, but you're on your own to daemonize it!
Integer (3) The amount of words to use
Integer (0) Minimum length of the password
Integer (0) Maximum length of the password
Integer (1) The amount of passwords to generate
Boolean (false) Randomly adds common "special" characters to a password, including capitalization
{
"auth": /* Optional, see tenso authentication section */
"compress": false, /* Optional, enabled by default, disabled with SSL */
"email": { /* Optional, disabled by default */
"enabled": true,
"host": "smtp.host",
"port": 465,
"secure": true,
"from": "You <you@yourdomain>",
"user": "you@yourdomain",
"pass": "password"
},
"headers": { ... }, /* Optional, custom headers */
"hostname": "localhost", /* Optional, default is 'localhost' */
"json": 2, /* Optional, default indent for 'pretty' JSON */
"logging": { /* Optional */
"level": "info",
"enabled": true
},
"port": 9090, /* Optional, default is 9090 */
"rate": {
"enabled": true,
"limit": 450, /* Maximum requests allowed before `reset` */
"reset": 900, /* TTL in seconds */
"status": 429, /* Optional HTTP status */
"message": "Too many requests", /* Optional error message */
"override": function ( req, rate ) { ... } /* Override the default rate limiting */
},
"session": { /* Optional */
"secret": null,
"store": "memory", /* "memory" or "redis" */
"redis": /* See connect-redis for options */
},
"ssl": { /* Optional */
"cert": null,
"key": null
},
"title": "My API", /* Page title for browsable API */
"uid": N /* Optional, system account uid to drop to after starting with elevated privileges to run on a low port */
}
Copyright (c) 2017 Jason Mulligan Licensed under the BSD-3 license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
79 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-03
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