scp-core
v0.1.0
Published
```ts import Branch from 'scp-core/Branch';
Downloads
1
Readme
scp-core
import Branch from 'scp-core/Branch';
const branch = Branch.get('en-us');
branch.series().then((series) => {
series[0].objects().then(async (objects) => {
const scp009 = objects.find((object) => object.title == 'Red Ice');
console.log(`${scp009.uri} - ${scp009.title} [rating: ${await scp009.rating}] (tags: ${(await scp009.tags).map((tag) => tag.title).join(', ')})`);
});
});
Author: Nikita Podvirnyy
Licensed under GNU GPL-3.0