Deckard Cain library identifies (media) type of API description files.
application/swagger+json(according to swagger-api/swagger-spec#110) and
npm install deckardcain
;// 'text/vnd.legacyblueprint'// 'text/vnd.apiblueprint'
Please mind the library is written in ECMAScript 6.
git clonecd deckardcainnpm install
See also the
Source code is located in the
./src folder and gets automatically transpiled into
./lib folder when
npm install or
npm publish is invoked. However, should you need to transpile it manually, use
npm run compile.
Deckard Cain library pays tribute to a fictional character from Diablo video game series. In Diablo II, Deckard Cain provides his wisdom and identifies items for free after being rescued by the player.