Gathering detailed insights and metrics for lib
Gathering detailed insights and metrics for lib
Gathering detailed insights and metrics for lib
Gathering detailed insights and metrics for lib
npm install lib
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
67 Stars
86 Commits
18 Forks
7 Watching
2 Branches
3 Contributors
Updated on 26 Sept 2023
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-14.5%
8,053
Compared to previous day
Last week
-29.9%
72,906
Compared to previous week
Last month
-23.8%
568,964
Compared to previous month
Last year
2,683,020.7%
6,493,152
Compared to previous year
No dependencies detected.
Basic Node bindings for Autocode standard library service accession (Node 4+).
Used to interface with services built using Autocode and the Autocode CLI.
The lib
package is available on npm: lib and
operates as zero-dependency interface to run Autocode standard library APIs and
web services. This means that you can utilize any service on Autocode without
installing any additional dependencies, and when you've deployed services to Autocode,
you have a pre-built Node.js SDK --- for example;
1const lib = require('lib'); 2lib.yourUsername.hostStatus({name: 'Dolores Abernathy'}, (err, result) => { 3 4 // handle result 5 6});
1const lib = require('lib'); 2lib.yourUsername.hostStatus({name: 'Dolores Abernathy'}) 3 .then(result => /* handle result */) 4 .catch(err => /* handle error */);
To explore the Autocode standard library, visit https://autocode.com/lib/. To build a web service or standard library API, sign up on https://autocode.com/.
To install locally in a project, use;
1$ npm install lib --save
1const lib = require('lib'); 2 3// [1]: Call "utils.greet" function, the latest version, from Autocode 4let message = await lib.utils.greet({name: 'Lionel Hutz'}); 5 6// [2]: Call "utils.greet" function with "dev" environment 7let message = await lib.utils.greet['@dev']({name: 'Lionel Hutz'}); 8 9// [3]: Call "utils.greet" function with "release" environment 10// This is equivalent to (1) 11let message = await lib.utils.greet['@release']({name: 'Lionel Hutz'}); 12 13// [4]: Call "utils.greet" function with specific version 14// if latest version, this is equivalent to (1) 15let message = await lib.utils.greet['@0.0.1']({name: 'Lionel Hutz'}); 16 17// [5]: Call another endpoint within the "utils.greet" service 18let message = await lib.utils.greet['@dev'].otherEndpoint(); 19 20// You can compose calls dynamically as well by using a string key 21await lib['utils.greet']({name: 'Lionel Hutz'}); 22await lib['utils.greet[@dev]']({name: 'Lionel Hutz'}); 23await lib['utils.greet[@release]']({name: 'Lionel Hutz'}); 24await lib['utils.greet[@0.0.1]']({name: 'Lionel Hutz'}); 25await lib['utils.greet.otherEndpoint']({name: 'Lionel Hutz'}); 26await lib['utils.greet[@dev].otherEndpoint']({name: 'Lionel Hutz'}); 27await lib['utils.greet[@release].otherEndpoint']({name: 'Lionel Hutz'}); 28await lib['utils.greet[@0.0.1].otherEndpoint']({name: 'Lionel Hutz'});
To learn more about Autocode, visit autocode.com or read the Autocode CLI documentation on GitHub.
You can follow the development team on Twitter, @AutocodeHQ
Autocode is © 2016 - 2021 Polybit Inc.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 4/18 approved changesets -- score normalized to 2
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
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
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