3.1.6 • Published 2 years ago

string.prototype.padend v3.1.6

Weekly downloads
4,094,100
License
MIT
Repository
github
Last release
2 years 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

airbnb-js-shimsnpm-run-allmio-cli-servicemylicensepg-cli-service@guomio/cli-service@infinitebrahmanuniverse/nolb-string_@saaspe/components@everything-registry/sub-chunk-2836p149-tablewinx-form-winxweb-elements-iconsvue-cli-service-sassjssvelte-component-libvue-compment@cybermega/flutter-resource-manager-rs@borealisgroup/cli-servicecauseway-concrete-stylesjest-tap-reporterjslib-servicehardcoreguruwayguruway.jsmad-logsmassa-web3-fork-workspacekrown_login_library@web-beest/rivm-design-tokens@weepower/cli@unified-tv/polyfill@testxcx/cli-service@vin_coder/pg-cli-service@vitali_shcherbina/styled-lib@ynet-cli/coreabbas-ahlan-roulettearcadia-js-shimsappcharge-checkoutfn-lib-examplegenerator-cowgclaspdoctosqleasyplayer-mydownload-manageres7-shimf-translateexpo-renavigatefixed_form_builderchange-vue-cli-servicecli-service-rely-oncli-multi-servicecustompackagetestvarthinicssesc-wbgdesign-system-fitbank-450start-starwars-libu-libraryvue-picocssyarn-run-allzillow-js-shimszy-vue-cli-servicevin-cli-servicemulti-prod-env-vue-cli-servicempd-parser-1myclaspmylicense1mfv-cli-servicepackage-example.jsonp147-tablep148-tablenpm-run-all-v2parvan_componentsparvan_reactjs_componentsrui-rkitreact-lightbox-pack-18supportreact-form-component-libraryreact-gantt-chart7sequelcomponentnka-gantt-task-reactneural_compressor_ext_lab_customizedneural_compressor_ext_lab_customized_2quaeratidresagaresponsis-gantt-task-reactreact-rect-progressbar@stonehiy/cli-service@sung/subsequence@svel/cli-service@object-studio/react-native-web@node-sitecore/cli@nodepack/service@noriaki/npm-run-all@leiyulf/gantt-task-react@lego-js/tests@ngxvoice/ngx-voicelistner@shivarajapple/first-library@podlubnaja/ui-kit@phaser-r/cli-service@petelc/learnstorybook-design-system@phenixs/cli-service@pradeepgudipati/kovaad-chat-ui-kit-styles@alicloud/console-toolkit-plugin-mocks@alicloud/console-toolkit-plugin-webpack
3.1.6

2 years ago

3.1.5

2 years ago

3.1.4

3 years ago

3.1.3

4 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

6 years ago

3.0.0

10 years ago