Quick Start

Install the library

# Install via NPM
npm install --save @arti-the-ai/arti-core

# Install via Yarn
yarn add @arti-the-ai/arti-core

Package dependencies

  • axios

  • uuid

  • @react-native-async-storage/async-storage

Usage

If you are using frameworks like Vite that do not use React directly, please make sure you manually install React in your project, otherwise the package won't work.

index.tsx
import React from 'react';
import { ArtiProvider } from '@arti-the-ai/arti-core'

return (
    <AppProvider>
      <ArtiProvider>
        {children}
      </ArtiProvider>
    </AppProvider>
  );

Last updated