0.0.1-security • Published 2 years ago

ca-bucky-client v0.0.1-security

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

ca-bucky-client

A client-side http client

Features

  • Server & Client side
  • ES6 syntax, managed with Prettier + Eslint and Stylelint
  • Unit testing via Jest

Install

yarn add ca-bucky-client
// or
npm install ca-bucky-client

Usage

import {client} from 'ca-bucky-client';
import {useEffect} from 'react';

const App = () => {
  const [state, setState] = useState(null);
  useEffect(async () => {
    const data = await client.get('/my-url');
    setState(data);
  }, []);
  
  return <div>{state && <span>{state.data}</span>}</div>;
};
1.447.2

2 years ago

1.445.2

2 years ago

1.446.2

2 years ago

7.453.2

2 years ago

8.454.2

2 years ago

2.448.2

2 years ago

0.0.1-security

2 years ago

4.450.2

2 years ago

6.452.2

2 years ago

9.455.2

2 years ago

3.449.2

2 years ago

0.0.2

2 years ago

5.451.2

2 years ago

0.0.1

2 years ago

9.343.1

2 years ago

8.382.1

2 years ago

7.381.1

2 years ago

6.341.1

2 years ago

5.348.1

2 years ago

4.338.1

2 years ago

3.332.1

2 years ago

2.352.1

2 years ago

1.345.1

2 years ago