| import { util } from '@citation-js/core'; | |
| import defaultTemplates from './styles.json'; | |
| const templates = new util.Register(defaultTemplates); | |
| const fetchStyle = style => { | |
| if (templates.has(style)) { | |
| return templates.get(style); | |
| } else { | |
| return templates.get('apa'); | |
| } | |
| }; | |
| export default fetchStyle; | |
| export { templates }; |
Xet Storage Details
- Size:
- 335 Bytes
- Xet hash:
- 646a1d3e0ba22a29cdccc9cbdc6e7e38cc9d41a3be24bd55ebc9de80e2a80aa4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.