Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
kcwiki-quest-data
Advanced tools
The Structured data for Kantai Collection quest
npm install
npm run generateSchema
data/*.json
or draft/*.json
in vscodeTo install the latest version, run the following command:
# Stable version
npm install kcwiki-quest-data
# Nightly version
npm install kcwikizh/kcwiki-quest-data#nightly
Or if you're using yarn:
# Stable version
yarn add kcwiki-quest-data
# Nightly version
yarn add kcwikizh/kcwiki-quest-data#nightly
import type { Quest } from 'kcwiki-quest-data' // quest json type
import { questData } from 'kcwiki-quest-data' // all quests json array
import { questDataMap } from 'kcwiki-quest-data' // all quests json keyBy game_id
import quest101 from 'kcwiki-quest-data/data/101.json'
import { QuestHelper } from 'kcwiki-quest-data'
QuestHelper.of(101).ensure()?.unwrap().wiki_id // "A01"
QuestHelper.of(101).ensure(
(questContainer) => console.log(questContainer.unwrap().wiki_id),
(err) => console.error('Error!', err),
) // "A01"
QuestHelper.of(99999999).forceEnsure().unwrap().name // "UNKNOWN_QUEST"
The type of quest json.
static QuestHelper.of(gameId: number): MaybeQuest
static QuestHelper.of(quest: Quest): QuestHelper
QuestHelper.id: number
QuestHelper.unwrap(): Quest
QuestHelper.translate(lng: string): string
QuestHelper.getPrerequisite(): QuestHelper[]
QuestHelper.getPostQuest(): QuestHelper[]
MaybeQuest.ensure(): QuestHelper | undefined
MaybeQuest.ensure((questContainer: QuestHelper) => {}, (error: Error) => {})
MaybeQuest.forceEnsure(): QuestHelper<Quest | UNKNOWN_QUEST>
v0.8.0 (2021-01-21)
kcanotifyTranslation
0
(Unknown) on Quest.category
typeFAQs
Kancolle Quest Data
We found that kcwiki-quest-data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.