This library contains a set of JavaScript functions that are commonly used in various projects. These functions are wrapped for convenient use, making it easy to implement them into your project.
Our library is designed to simplify the development process by providing a range of reusable and flexible functions. Whether you're building a website or a complex application, our library can help you streamline your development process and save you time.
All of the functions included in this library have been thoroughly tested and optimized for performance, ensuring that they are reliable and efficient. Additionally, we strive to maintain a clean and easy-to-use codebase that is well-documented and easy to understand.
npm install helikon
<script src="https://cdn.jsdelivr.net/npm/helikon"></script>
import { getVersion } from 'helikon'
console.log('helikon version ', getVersion())
<script>
console.log('helikon', helikon.getVersion())
</script>
import React, { useState } from 'react'
import { utils } from 'helikon'
function App() {
const [value, setValue] = useState<string>('')
// Is the current value a number
const valueNumberStatus = utils.isNumber(value) ? 'is a number' : 'not a number'
return (
<>
<input
value={value}
onInput={
(e: React.FormEvent<HTMLInputElement>) => setValue(e.currentTarget.value)
}
/>
{value && valueNumberStatus}
</>
)
}
export default App
This package is licensed under the MIT license. See LICENSE for more information.