🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

komerce-packages

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

komerce-packages

Package for komerce frontend

2.1.7
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Package used for frontend commerce
Build with love ❤️

komerce-package

⚙️ Install

Install it locally in your project folder:

npm i komerce-package
# Or Yarn
yarn add komerce-package
# Or pnpm
pnpm add komerce-package

You can also install it globally but it's not recommended.

📖 Usage

Bundle files

import { bundle } from 'komerce-package'

📚 List Packages

utils

  • cookies - getCookies, setCookies, removeCookies
  • formatDate - (dayjs) Converts a timestamp to a human-readable relative time.
  • find - Finds the first element in the array that satisfies the provided testing function.
  • generate-acronym - Generate acronym from string
  • generate key - Generate key for encryption
  • get - Retrieves a value from an object using the specified path.
  • includes - Checks if a value is present in an array.
  • isAlpha - Checks if the given string consists of only alphabets.
  • isEmpty - Checks if the given value is empty.
  • isNull - Checks if a value is null.
  • localstorage - getLs, setLs, removeLs enryption with secrety key
  • notification - notification with antd
  • omit - Creates a new object by omitting specified keys from the source object.
  • request - Makes a GET and POST request to the general response json.
  • secure - encryption vernam cipher with generate key
  • xor string - encryption xor string with generate key

storage

  • cookies - getCookies, setCookies, removeCooies yang sudah di modifikasi dengan enkripsi
  • localstorage - getLs, setLs, removeLs yang sudah di modifikasi dengan enkripsi

headers

  • postRequest - Makes a POST request to the specified URL with the provided request body and returns the response data.
  • listRequest - Makes a GET request to the specified URL and returns the response data array.
  • singleRequest - Makes a GET request to the specified URL and returns the response data object.

FAQs

Package last updated on 25 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts