1.1.0 • Published 7 months ago

burgos-array v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 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

7 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago