2.7.0-next.1592729367.ee9af199fee1f19ab36904d7f3317967fa0c9cd7 • Published 6 years ago

start-of-week v2.7.0-next.1592729367.ee9af199fee1f19ab36904d7f3317967fa0c9cd7

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

Returns the start of the week based on the locale.

Usage

Complete API Documentation.

import startOfWeek from 'start-of-week'
console.log(startOfWeek) // 0 (Sunday) if North American, otherwise 1 (Monday)

If you want something comprehensive, use gamtiq/weekstart instead.

npm

pika

<script type="module">
    import pkg from '//cdn.pika.dev/start-of-week/^2.7.0'
</script>

unpkg

<script type="module">
    import pkg from '//unpkg.com/start-of-week@^2.7.0'
</script>

jspm

<script type="module">
    import pkg from '//dev.jspm.io/start-of-week@2.7.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?

These amazing people have contributed code to this project:

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

Unless stated otherwise all works are:

and licensed under:

4.7.0

2 years ago

4.6.0

3 years ago

4.4.0

3 years ago

4.0.0

3 years ago

4.3.0

3 years ago

3.9.0

3 years ago

4.2.0

3 years ago

4.5.0

3 years ago

4.1.0

3 years ago

3.8.2

3 years ago

3.8.0

5 years ago

3.7.0

5 years ago

3.6.0

6 years ago

3.5.0

6 years ago

3.4.0

6 years ago

3.3.0

6 years ago

3.2.0

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.8.0

6 years ago

2.7.0

6 years ago

2.6.0

6 years ago

2.5.0

6 years ago

2.3.0

6 years ago

2.4.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.9.0

6 years ago

1.8.0

6 years ago

1.7.0

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago