3.1.6 • Published 1 month ago

string.prototype.padend v3.1.6

Weekly downloads
4,094,100
License
MIT
Repository
github
Last release
1 month ago

String.prototype.padEnd Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2017 spec-compliant String.prototype.padEnd shim. Invoke its "shim" method to shim String.prototype.padEnd if it is unavailable.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Most common usage:

var padEnd = require('string.prototype.padend');

assert(padEnd('foo', 5, 'bar') === 'fooba');

padEnd.shim();

assert(padEnd('foo', 2) === 'foo'.padEnd(2));

Tests

Simply clone the repo, npm install, and run npm test

npm-run-allairbnb-js-shimsmio-cli-servicemylicensepg-cli-service@guomio/cli-service@infinitebrahmanuniverse/nolb-string_@saaspe/components@everything-registry/sub-chunk-2836p149-tablezillow-js-shims@fromage/cli-service@fuc/cli-service@fzo/fzo-serviceweb-elements-iconszy-vue-cli-servicewinx-form-winxu-libraryyarn-run-allvue-compmentvue-cli-service-sassjsvin-cli-servicevue-picocssfn-lib-exampleresagaresponsis-gantt-task-reactrui-rkitsequelcomponentstart-starwars-libsvelte-component-lib@kommunicate/kommunicate-chatbot-plugin@lego-js/tests@leiyulf/gantt-task-reactexpo-renavigateeasyplayer-my@moonreach/nodepack@object-studio/react-native-web@megalo/cli-servicefixed_form_buildergenerator-cowgclasp@ngxvoice/ngx-voicelistner@node-sitecore/cli@nodepack/service@noriaki/npm-run-allf-translatees7-shim@safely-project/safely-tsguruwayguruway.js@podlubnaja/ui-kit@gtarsia-vue/cli-service@hzamir/npm-run-all@jcblw/dev-server@qiwi/npm-run-allhardcore@phenixs/cli-service@phaser-r/cli-service@faizanhaider/iconsax@evlos/cli-servicejslib-servicejest-tap-reporter@shivarajapple/first-library@skeetboothppq/component-library@skahack/lerna-changelog@skedulr/nebula-ui-library@testxcx/cli-service@stonehiy/cli-serviceneural_compressor_ext_lab_customizedneural_compressor_ext_lab_customized_2@blkmarketco/components-librarymylicense1appcharge-checkoutappcharge-checkout-reactjs-sdkmyclasp@bastou/jsontotsinterface@cvortex-design/dstokensnpm-run-all-v2@cypress/npm-run-all@cybermega/flutter-resource-manager-rsarcadia-js-shims@applaud/cli-servicemulti-prod-env-vue-cli-service@weepower/clinka-gantt-task-react@breezr/core@breezr/plugin-mocks@breezr/plugin-webpack@borealisgroup/cli-service@coralproject/npm-run-allchange-vue-cli-service@unified-tv/polyfillmad-logs@vin_coder/pg-cli-service@ynet-cli/core@aisino/cli-service@sung/subsequence@svel/cli-service@vitali_shcherbina/styled-libmfv-cli-service
3.1.6

1 month ago

3.1.5

8 months ago

3.1.4

1 year ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

4 years ago

3.0.0

8 years ago