How to use lower-case-first - 1 common examples

To help you get started, we’ve selected a few lower-case-first 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 taion / flux-resource-marty / src / store.js View on Github external
function addFetch(
  ResourceStore,
  {
    actionsKey = `${lowerCaseFirst(this.name)}Actions`
  }
) {
  const {methodNames, name, plural} = this;

  const {getMany, getSingle} = methodNames;
  const refreshMany = `refresh${plural}`;
  const refreshSingle = `refresh${name}`;

  return class ResourceStoreWithFetch extends ResourceStore {
    getActions() {
      return this.app[actionsKey];
    }

    [getMany](options, {refresh} = {}) {
      return this.fetch({
        id: `c${this.collectionKey(options)}`,

lower-case-first

Transforms the string with only the first character in lower case

MIT
Latest version published 1 year ago

Package Health Score

61 / 100
Full package analysis

Popular lower-case-first functions