UNPKG
@codesled/content
Version:
latest (0.1.0)
0.1.0
Composable content blocks for Node.js apps — flexible, pluggable, and framework-agnostic.
@codesled/content
/
src
/
index.js
11 lines
(9 loc)
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
createBlock =
require
(
"./blocks/createBlock"
);
const
renderBlocks =
require
(
"./blocks/renderBlocks"
);
const
{
BLOCK_TYPES
, validateBlock } =
require
(
"./blocks/blockSchema"
);
module
.
exports
= { createBlock, renderBlocks, validateBlock,
BLOCK_TYPES
, };