4.8.0 • Published 4 months ago

@bevry/ecmascript-versions v4.8.0

Weekly downloads
-
License
Artistic-2.0
Repository
github
Last release
4 months ago

Get all ECMAScript versions, or the ECMAScript version that was ratified on a specific date.

Usage

Complete API Documentation.

import {
    getESVersion,
    getESVersions,
    getDateWithYearOffset,
} from '@bevry/ecmascript-versions'
// results for 2020-11-03

// get the latest ECMAScript version that was ratified by current date
console.log(getESVersion()) // ES2020

// get the latest ECMAScript version that was ratified by this time last year
console.log(getESVersion(getDateWithYearOffset(-1))) // ES2019

// get all the latest ECMAScript versions that were ratified so far
console.log(getESVersions()) /* [
    'ES1',
    'ES2',
    'ES3',
    'ES5',
    'ES2015',
    'ES2016',
    'ES2017',
    'ES2018',
    'ES2019',
    'ES2020',
] */

npm

Skypack

<script type="module">
    import * as pkg from '//cdn.skypack.dev/@bevry/ecmascript-versions@^2.0.0'
</script>

unpkg

<script type="module">
    import * as pkg from '//unpkg.com/@bevry/ecmascript-versions@^2.0.0'
</script>

jspm

<script type="module">
    import * as pkg from '//dev.jspm.io/@bevry/ecmascript-versions@2.0.0'
</script>

Discover the release history by heading on over to the HISTORY.md file.

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

These amazing people are maintaining this project:

No sponsors yet! Will you be the first?

No contributors yet! Will you be the first?

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Unless stated otherwise all works are:

and licensed under:

4.8.0

4 months ago

4.7.0

4 months ago

4.6.0

5 months ago

4.5.0

5 months ago

3.6.0

6 months ago

4.4.0

6 months ago

4.1.0

6 months ago

4.0.0

6 months ago

4.3.0

6 months ago

4.2.0

6 months ago

3.5.0

3 years ago

3.4.0

3 years ago

3.3.0

3 years ago

3.2.0

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago