ugama

1.0.2 • Public • Published

Ugama

Feature

  • City
  • County
  • Office
  • Permission
  • PMT Route
  • Role
  • State
  • Terminal
  • Vehicle
  • Util

Install

$   npm install ugama 

Usuage in ES5

const { getAllCities } = require('ugama');

getAllCities().then(a => console.log(a))

Usuage in ES6

$  npx create-react-app test-ugama

$  cd test-ugama && npm install ugama
import logo from './logo.svg';
import { getAllCities } from 'ugama';
import './App.css';

function App() {
  getAllCities().then(a => console.log(a));
  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code>src/App.js</code> and save to reload.
        </p>
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
      </header>
    </div>
  );
}

export default App;

TODO

  • Category
  • Product Dictionary
  • Country

Package Sidebar

Install

npm i ugama

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

5.2 MB

Total Files

34

Last publish

Collaborators

  • nditah