All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.configs.scripts.jsdoc-builder.constants.mjs Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
/* eslint-disable @bigbinary/neeto/no-dangling-constants */
import { complement, startsWith } from "ramda";

export const REMARK_NODE_TYPES = {
  HTML: "html",
  PARAGRAPH: "paragraph",
  CODE: "code",
  HEADING: "heading",
  TEXT: "text",
  INLINE_CODE: "inlineCode",
};

export const BABEL_NODE_TYPES = { IDENTIFIER: "Identifier" };

export const SUBHEADING_PATTERN = { type: REMARK_NODE_TYPES.HEADING, depth: 2 };
export const HTML_PATTERN = { type: REMARK_NODE_TYPES.HTML };
export const IMG_PATTERN = {
  type: REMARK_NODE_TYPES.HTML,
  value: startsWith("




© 2015 - 2024 Weber Informatics LLC | Privacy Policy