A Short-Lived Disposable Settings API
Sometimes we just need a quick way to persist some data without getting into creating a dedicated data store. Or maybe we just don't want to pollute an existing storage with temporary data that is ephermal in nature and we only need for a short little while. Demo apps, mock ups, proofs of concept... are all use cases for this service.
Well, say hello to prefs.us!
- No accounts. No logins.
- No databases to create and manage.
- Custom deep links for key/vaue pairs or config files
- Inactive data purged automatically.
- Set your own TTL on any piece of data.
- Organize your data by projects, domains, lists.
- All data stored encrypted.
<script src="https://prefs.us/prefs.us.js"></script>
// use API key
prefs_us.using("[api_key]");
// write data
prefs_us.write("email=john.doe@email.com");
// read data
prefs_us.read()
.then( (response) => response.json())
.then((data) => {
console.log(data.values);
})
.catch( (error) => {
console.log(error);
});