cf-pony
Cloudflare ponyfills
We are wrapping other modules so that we can deprecate them in the future with
console.warn
warnings. We can also swap out implementations easily.
Installation
$ npm install cf-pony
Usage
setImmediate
Use the ponyfill from this module.
var cf = ;cf;
requestAnimationFrame
Use the ponyfill from this module.
var cf = ;cf;
cancelAnimationFrame
Use the ponyfill from this module.
var cf = ;var id = cf;cf;
Array.isArray
Use the native method.
Array;
Array.prototype.every
Use the native method.
arr;
Array.prototype.filter
Use the native method.
arr;
Array.prototype.find
Use the native method.
arr;
Array.prototype.forEach
Use the native method.
arr;
Array.prototype.includes
=> cf.arrayIncludes
Use the ponyfill from this module.
var cf = ;cf;
Array.prototype.map
Use the native method.
arr;
Array.prototype.reduce
Use the native method.
arr;
Array.prototype.some
Use the native method.
arr;
Object.assign
=> cf.objectAssign
Use the ponyfill from this module.
var cf = ;cf;
Object.create
Use the native method.
Object;
Object.is
=> cf.objectIs
Use the ponyfill from this module.
var cf = ;cf;
Object.keys
Use the native method.
Object;
Object.prototype.hasOwnProperty
Use the native method.
obj;
String.prototype.endsWith
=> cf.stringEndsWith
Use the ponyfill from this module.
var cf = ;cf;
String.prototype.includes
=> cf.stringIncludes
Use the ponyfill from this module.
var cf = ;cf;
String.prototype.startsWith
=> cf.stringStartsWith
Use the ponyfill from this module.
var cf = ;cf;
String.prototype.trim
=> cf.stringTrim
Use the ponyfill from this module.
var cf = ;cf;
String.prototype.trimLeft
=> cf.stringTrimLeft
Use the ponyfill from this module.
var cf = ;cf;
String.prototype.trimRight
=> cf.stringTrimRight
Use the ponyfill from this module.
var cf = ;cf;