How to use the css-modules-flow-types-printer function in css-modules-flow-types-printer

To help you get started, we’ve selected a few css-modules-flow-types-printer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github skovhus / css-modules-flow-types / packages / css-modules-flow-types-cli / src / converter.js View on Github external
.then(res => {
          if (res) {
            const tokens = Object.keys(res);
            const content = printFlowDefinition(
              tokens,
              this.eol || getLineSeparator(tokens[0])
            );
            resolve(content);
          } else {
            reject(res);
          }
        })
        .catch(err => reject(err));

css-modules-flow-types-printer

Prints CSS Modules tokens as a flow definition

MIT
Latest version published 3 years ago

Package Health Score

58 / 100
Full package analysis