1.0.1 ā¢ Published 3 years ago
protectedtext-api v1.0.1
Unofficial protectedtext.com API
Install
npm install protectedtext-api
Usage
const ProtectedTextAPI = require('protectedtext-api');
(async function() {
const site_id = "test";
const site_password = "123";
var TabManager = (await new ProtectedTextAPI(site_id, site_password).loadTabs());
var savedText = (await TabManager.view());
// View saved content
console.log(savedText);
// Save new content, but keep old text
await TabManager.save(savedText.concat("IT WORKS!"));
})();
API REFERENCE
Future implementations :rocket: :rocket:
- Add tab support
- Add support for browser
- Auto register site, if not exists
Author
š¤ Pablo Skubert pablo1920@protonmail.com
- Twitter: @pabloskubert
- Github: @pabloskubert
- LinkedIn: @pablo-henrique-gomes-580458144
Show your support
Give a āļø if this project helped you!
š License
Copyright Ā© 2021 Pablo Skubert <pablo1920@protonmail.com>. This project is MIT licensed.