mclogs
v1.0.1
Published
TypeScript library for the mclo.gs API
Downloads
120
Maintainers
Readme
mclogs
TypeScript library for the mclo.gs HTTP API
Installation
Install mclogs with NPM
npm install mclogs
Basic Usage
import mclogs from 'mclogs';
async function main() {
const data = await mclogs.create('Hello, world!');
console.log(data);
const raw = await mclogs.getRaw('qLHAQBz');
console.log(raw);
const insights = await mclogs.getInsights('bs47Bij');
console.log(insights.analysis);
const limits = await mclogs.getStorageLimits();
console.log(limits);
}
main();
For more examples, visit example.ts.
Contributing
Contributions are always welcome!
See contributing.md for ways to get started.