product-fruits
TypeScript icon, indicating that this package has built-in type declarations

1.0.27 • Public • Published

Product Fruits NPM SDK

Use this package for Product Fruits installation into NPM environments. This package can be used in browser environments. The package supports TypeScript.

Instructions

  1. Install this package
npm install product-fruits --save
  1. Use this package
import { productFruits } from 'product-fruits';

// Call this later in your code; it can be called only once.
// This will load Product Fruits content immediatelly.
// Pass the real username of the current user. Read our docs for more options.
productFruits.init('YOUR PROJECT CODE', 'LANGUAGE CODE', { username: '<<REPLACE>>' });

More docs

Read more at https://help.productfruits.com/en/article/npm-package

Readme

Keywords

none

Package Sidebar

Install

npm i product-fruits

Weekly Downloads

60,037

Version

1.0.27

License

MIT

Unpacked Size

4.45 kB

Total Files

4

Last publish

Collaborators

  • ladislav.salom