@patternplate/load-config
TypeScript icon, indicating that this package has built-in type declarations

3.2.5 • Public • Published

Documentation and development interface for component libraries

@patternplate/load-config

  • Framework independent
  • Bring design docs to live with real components
  • Powerful search and meta data system

This is the contributor documentation for @patternplate/cli For user docs see patternplate.github.io

About @patternplate/load-config

Provided a current working directory @patternplate/load-config loads and normalizes patternplate configuration from patternplate.config.js files.

Quick start

git clone https://github.com/patternplate/patternplate.git
cd patternplate/packages/load-config
yarn
yarn start

Usage

const loadConfig = require("@patternplate/load-config");

(async () => {
  const config = await loadConfig({cwd: process.cwd()});
  // {filepath: null | "string", config: {}}
})();

License

Copyright by SinnerSchrader. All @patternplate packages are released under the MIT license.

/@patternplate/load-config/

    Package Sidebar

    Install

    npm i @patternplate/load-config

    Weekly Downloads

    9

    Version

    3.2.5

    License

    MIT

    Unpacked Size

    7.63 kB

    Total Files

    9

    Last publish

    Collaborators

    • kotzendekrabbe
    • lkuechler
    • rongae
    • marionebl