Catalog npm
Back to packageRELEASE DETAILS

0.1.1

npm

1ohooks

![1ohooks Logo](link_to_logo)

Published24 Sept 2023
Direct dependencies12
Transitive dependenciesNot calculated

README

Current package documentation

1ohooks - React Hooks for Enhanced Functionality

1ohooks Logo

1ohooks is an organization dedicated to providing a collection of custom React hooks to enhance your web development experience. Our hooks cover a wide range of functionalities to make your React projects more efficient and user-friendly.

Table of Contents

  1. Introduction
  2. Installation
  3. Available Packages
  4. Usage
  5. Contributing
  6. License

Introduction

React hooks have revolutionized the way we manage state and side effects in React applications. The 1ohooks organization aims to make your development process even smoother by offering a variety of custom hooks that address common challenges and provide additional functionality.

Our hooks are designed to be easy to integrate into your projects and come with comprehensive documentation to help you get started quickly.

Installation

To use any of the 1ohooks packages in your project, you can install them using npm or yarn. Here's the general installation command:

npm install @1ohooks/package-name
# or
yarn add @1ohooks/package-name

Replace package-name with the name of the specific package you want to use.

Available Packages

1ohooks offers a growing collection of hooks, each catering to a specific use case or functionality. Here are some of the packages available:

  • @1ohooks/swipeable: Provides hooks for handling swipe gestures in your React components.

(Add more packages as needed)

For detailed information on each package, including usage and installation instructions, refer to their respective documentation.

Usage

Using 1ohooks in your React project is straightforward. Import the desired hook from the package and start using it in your components. Here's a general example:

import { useHookName } from '@1ohooks/package-name';

function MyComponent() {
  const { data, isLoading } = useHookName();

  if (isLoading) {
    return <div>Loading...</div>;
  }

  return (
    <div>
      {/* Your component content */}
    </div>
  );
}

For specific usage instructions and examples, refer to the documentation of each package.

Contributing

We welcome contributions from the open-source community to make 1ohooks even better. If you have an idea for a new hook or want to improve an existing one, please check out our Contributing Guidelines for detailed information on how to contribute.

License

All 1ohooks packages are released under the MIT License. You are free to use and modify them in your projects. We appreciate attribution but do not require it.


Thank you for choosing 1ohooks to enhance your React projects. We hope you find our hooks useful and welcome your feedback and contributions to make them even better!

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 15

Native requirements
12 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^18.2.0runtime
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^18.2.0runtime
react-router-dom
Environment
{
  "local_name": "react-router-dom",
  "alias": false,
  "peer_metadata": null
}
^6.15.0runtime
react-helmet
Environment
{
  "local_name": "react-helmet",
  "alias": false,
  "peer_metadata": null
}
^6.1.0runtime
react-helmet-async
Environment
{
  "local_name": "react-helmet-async",
  "alias": false,
  "peer_metadata": null
}
^1.3.0runtime
lerna
Environment
{
  "local_name": "lerna",
  "alias": false,
  "peer_metadata": null
}
^7.3.0development
copyfiles
Environment
{
  "local_name": "copyfiles",
  "alias": false,
  "peer_metadata": null
}
^2.4.1development
@types/react
Environment
{
  "local_name": "@types/react",
  "alias": false,
  "peer_metadata": null
}
^18.2.22development
@types/react-dom
Environment
{
  "local_name": "@types/react-dom",
  "alias": false,
  "peer_metadata": null
}
^18.2.7development
@types/react-helmet
Environment
{
  "local_name": "@types/react-helmet",
  "alias": false,
  "peer_metadata": null
}
^6.1.6development
@types/react-helmet-async
Environment
{
  "local_name": "@types/react-helmet-async",
  "alias": false,
  "peer_metadata": null
}
^1.0.3development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^18.2.0peer
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^18.2.0peer
react-router-dom
Environment
{
  "local_name": "react-router-dom",
  "alias": false,
  "peer_metadata": null
}
^6.15.0peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-Yb4QLZ7hM0riXvSydD35ZB2usf9yQ+FH7f7XbT9R1CLbsck4HWSFUeL8DEmcm7bEkYgsVUtJXg4NQTXl8LJeSQ==",
  "shasum": "e4b289bd69f70b2c58cb7b745c2ca1e1d367bf07",
  "tarball": "https://registry.npmjs.org/1ohooks/-/1ohooks-0.1.1.tgz",
  "fileCount": 2,
  "unpackedSize": 701,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQD4L7MVZyv3ZBjg75QL9INeBtBiSUy/RWOuar6PagnbmAIgN5bWg85SN1XM50aTTlw7XZHVI6F6bl2smab/ostUJpU="
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:34 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:3034d4e4e73ac4a462efd6542715be3a2ccbf70373bee81da16b31936dcc99b0

Other collected versions

0.1.224 Sept0.1.024 SeptView all collected versions →