Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

es6

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6

Shim to provide ECMAScript 6 Harmony implementation

  • 0.0.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
880
decreased by-14.65%
Maintainers
1
Weekly downloads
 
Created
Source

ECMAScript 6 Harmony

ECMAScript 6 Harmony polyfil

Collections (data structures)

  • Map
  • Set

Array

  • Array.of
    ECMA-262 6th Edition, 15.4.3.3

  • Array.from
    ECMA-262 6th Edition, 15.4.3.4

String

  • String.fromCodePoint
    ECMA-262 6th Edition, 15.5.3.3

  • String.prototype.codePointAt
    ECMA-262 6th Edition, 15.5.4.5

  • String.prototype.repeat
    ECMA-262 6th Edition, 15.5.4.21

  • String.prototype.startsWith
    ECMA-262 6th Edition, 15.5.4.22

  • String.prototype.endsWith
    ECMA-262 6th Edition, 15.5.4.23

  • String.prototype.contains
    ECMA-262 6th Edition, 15.5.4.24

  • String.prototype.toArray
    ECMA-262 6th Edition, 15.5.4.25

Object

  • Object.isObject
    ECMA-262 6th Edition, 15.2.3.15

  • Object.getOwnPropertyKeys
    ECMA-262 6th Edition, 15.2.3.15

  • Object.is
    ECMA-262 6th Edition, 15.2.3.16

  • Object.assign
    ECMA-262 6th Edition, 15.2.3.17

  • Object.mixin
    ECMA-262 6th Edition, 15.2.3.18

Number

  • Number.EPSILON
    ECMA-262 6th Edition, 15.7.3.7

  • Number.MAX_INTEGER
    ECMA-262 6th Edition, 15.7.3.7

  • Number.parseInt
    ECMA-262 6th Edition, 15.7.3.8

  • Number.parseFloat
    ECMA-262 6th Edition, 15.7.3.9

  • Number.isNaN
    ECMA-262 6th Edition, 15.7.3.10

  • Number.isFinite
    ECMA-262 6th Edition, 15.7.3.11

  • Number.isInteger
    ECMA-262 6th Edition, 15.7.3.12

  • Number.toInteger
    ECMA-262 6th Edition, 15.7.3.13

  • Number.prototype.clz
    ECMA-262 6th Edition, 15.7.3.13

Math

  • Math.log10
    ECMA-262 6th Edition, 15.8.2.19

  • Math.log2
    ECMA-262 6th Edition, 15.8.2.20

  • Math.log1p
    ECMA-262 6th Edition, 15.8.2.21

  • Math.expm1
    ECMA-262 6th Edition, 15.8.2.22

  • Math.cosh
    ECMA-262 6th Edition, 15.8.2.23

  • Math.sinh
    ECMA-262 6th Edition, 15.8.2.24

  • Math.tanh
    ECMA-262 6th Edition, 15.8.2.25

  • Math.acosh
    ECMA-262 6th Edition, 15.8.2.26

  • Math.asinh
    ECMA-262 6th Edition, 15.8.2.27

  • Math.atanh
    ECMA-262 6th Edition, 15.8.2.28

  • Math.hypot
    ECMA-262 6th Edition, 15.8.2.29

  • Math.trunc
    ECMA-262 6th Edition, 15.8.2.30

  • Math.sign
    ECMA-262 6th Edition, 15.8.2.31

  • Math.cbrt
    ECMA-262 6th Edition, 15.8.2.32

Proposals

  • Object.getOwnPropertyDescriptors

  • Object.getPropertyDescriptor

  • Object.getPropertyNames

  • Object.isnt

TODO

  • String.prototype.normalize
  • MapIterator.prototype
  • RegeExp.prototype...

Installation

Downloading

Choose one of the ways to download the ECMAScript 6 Harmony polyfil:

npm

sudo npm install -g es6

git

git clone git@github.com:monolithed/ECMAScript-6.git

zip/gzip

https://github.com/monolithed/ECMAScript-6/downloads
Server-side including
require('./ES6.js');
Client-side including
<script src="./ES6.js"></script>

Information

NOTE: requires ECMAScript 5!

[ECMAScript 6 compatibility table] (http://kangax.github.com/es5-compat-table/es6/)
[Historical records of working draft of the ECMA-262 6th specification] (http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts)
[Proposals of ECMA-262 6th specification] (http://wiki.ecmascript.org/doku.php?id=harmony:proposals)

##.

  • ECMAScript 6 Harmony polyfil is licensed under the MIT (MIT_LICENSE.txt) license

  • Copyright (c) 2011 [Alexander Guinness] (https://github.com/monolithed)

Keywords

FAQs

Package last updated on 19 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc