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
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
67 Stars
86 Commits
19 Forks
6 Watchers
2 Branches
3 Contributors
Updated on Sep 26, 2023
Latest Version
5.1.0
Package Id
lib@5.1.0
Unpacked Size
23.52 kB
Size
7.40 kB
File Count
10
NPM Version
9.8.1
Node Version
20.6.1
Published on
Sep 20, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
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
project is not fuzzed
Details
Reason
security policy file not detected
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 2025-06-30
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