all-polyfills

0.8.1 • Public • Published

# all-polyfills

build version package dependencies minified linter tests license hits

The lastest version of this document is available on Github > all-polyfills

You can load all features: (18 Ko)

<script src="node_modules/all-polyfills/distrib/all-polyfills.min.js"></script>

You can load only required features:

<script src="node_modules/all-polyfills/distrib/fn/Math/acosh.min.js"></script>

You can load only required categories features:

categories features are :

  • Array
  • ArrayBuffer
  • Element
  • IDBKeyRange
  • Math
  • NodeList
  • Number
  • Object
  • Reflect
  • Regex
  • String
  • window

example for category Math

<script src="node_modules/all-polyfills/distrib/Math.min.js"></script>

You can embed only required features not minified in others scripts:

<script src="node_modules/all-polyfills/distrib/fn/Math/acosh.js"></script>

Availables polyfills

Array

copyWithin
every
fill
filter
find
findIndex
flat
flatMap
from
includes
indexOf
isArray
lastIndexOf
of
reduce
reduceRight
some
toLocaleString

ArrayBuffer

transfer

Element

after
before
childElementCount
children
closest
getAttributeNames
hasAttribute
hasAttributes
hasChildNodes
insertAdjacentText
isFinite
lastElementChild
matches
prepend
remove
replaceWith
toggleAttribute

IDBKeyRange

includes

Math

acosh
atanh
cbrt
clz32
cosh
expm1
fround
hypot
imul
log10
log1p
log2
sign
sinh
tanh
trunc

NodeList

forEach

Number

EPSILON
isInteger
isNaN
isSafeInteger
MAX_SAFE_INTEGER
parseFloat
parseInt

Object

assign
create
entries
is
keys
values

Reflect

getOwnPropertySymbols
ownKeys

Regex

flags

String

codePointAt
endsWith
fromCodePoint
includes
padEnd
padStart
repeat
startsWith
substr
trim
trimLeft
trimRight

window

CustomEvent
screenLeft
screenTop

Readme

Keywords

Package Sidebar

Install

npm i all-polyfills

Weekly Downloads

1

Version

0.8.1

License

MIT

Unpacked Size

172 kB

Total Files

273

Last publish

Collaborators

  • sylvain59