Sha256: ffecdc231bcc23a35a019d3d4180d1e32c3c8e7dedf6913bbc119827c065ce0a

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 Bytes

Contents

'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true
});
exports.default = pluralize;

/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
function pluralize(word, count, ending) {
  return `${count} ${word}${count === 1 ? '' : ending}`;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-0.27.1 packages/webpacker/node_modules/@jest/core/build/pluralize.js
decidim-0.26.4 packages/webpacker/node_modules/@jest/core/build/pluralize.js
decidim-0.27.0 packages/webpacker/node_modules/@jest/core/build/pluralize.js
decidim-0.26.3 packages/webpacker/node_modules/@jest/core/build/pluralize.js
decidim-0.27.0.rc2 packages/webpacker/node_modules/@jest/core/build/pluralize.js
decidim-0.27.0.rc1 packages/webpacker/node_modules/@jest/core/build/pluralize.js