https://github.com/krypt0nn/scp-core
https://github.com/krypt0nn/scp-core
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/krypt0nn/scp-core
- Owner: krypt0nn
- License: gpl-3.0
- Created: 2022-01-22T14:04:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-22T14:11:36.000Z (over 4 years ago)
- Last Synced: 2025-02-06T08:38:44.130Z (over 1 year ago)
- Language: TypeScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scp-core
```ts
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](https://vk.com/technomindlp)
Licensed under [GNU GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.en.html)