technical-test-shopping-cart-mgmt

1.0.0 • Public • Published

What is this?

Simple shopping cart system build fpr you

Installation

$ npm install technical-test-shopping-cart-mgmt

How to Use

import Cart from 'technical-test-shopping-cart-mgmt'

let keranjang = new Cart()

keranjang.tambahProduk("Pisang Hijau", 2); //=> For Add Product to cart

keranjang.tambahProduk("Semangka Kuning", 3); //=> For Add Product to cart

keranjang.hapusProduk("Semangka Kuning"); //=> For Delete Product to cart

keranjang.tampilkanCart(); //=> For Show Product inside the cart

Or you can

open index.html and use the library in your browser console

Testing

you can test this library using

$ npm install && npm test

Package Sidebar

Install

npm i technical-test-shopping-cart-mgmt

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

6 kB

Total Files

5

Last publish

Collaborators

  • rochateer