Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

plexiform-config-api

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plexiform-config-api

Config processor for api projects

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

plexiform-config-api

Purpose

Interprets an api specification which is provided as a plexiform MdDom object (a parsed markdown specification) and outputs a JavaScript object representing that specification.

What?!

  • Plexiform is a templated code generator
  • A plexiform build script contain templates
  • The build script also requires a specification object, on which the templates operate
  • For ease of reading, it is preferable to define your specification using markdown
  • Plexiform will parse the markdown file and provide it as an instance of its proprietary MdDom object
  • This module will process the MdDom and return the specification objec that my 'api' build scripts expect

Considered 'Release' (v1.0.0) since 2018-01-02 when it incorporated the 'expand' code which had previously been duplicated across build scripts.

process

Process MdDom into a useful config.

expand

Expand the basic config with reciprocal refs, lookups, etc. to make it more convenient to consume in a build script.

Note: the circular refs mean that it can no longer be stringified.

build

Configure this as your build script, and it will merely dump the arguments to console.

FAQs

Package last updated on 02 Feb 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc