1.1.0 • Published 8 months ago

burgos-array v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

burgos-array

A hook with custom array methods

Methods

newArray

a method that returns an array with specified length and initialized in numeric order

import { useArray } from 'burgos-snackbar'

export const App = () => {
    const { newArray } = useArray()
    const five_items = newArray(5)

    console.log(five_items) ## [1, 2, 3, 4, 5]
}
1.1.0

8 months ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago