@patternplate/search

3.2.0 • Public • Published

Documentation and development interface for component libraries

@patternplate/search

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

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

About @patternplate/search

Given a list of patterns, create a function that returns a new list matching a provided search query.

Usage

const {createSearch} = require('@patternplate/search');

const items = [
  {
    id: 'src/button',
    manifest: {
      displayName: 'Button',
      version: '1.0.0'
    }
  }
];

const search = createSearch(items);
search('button');

License

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

Readme

Keywords

none

Package Sidebar

Install

npm i @patternplate/search

Weekly Downloads

3

Version

3.2.0

License

MIT

Unpacked Size

40.4 kB

Total Files

84

Last publish

Collaborators

  • kotzendekrabbe
  • lkuechler
  • rongae
  • marionebl