0.0.12 • Published 3 months ago

magic-point-sdk v0.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

Magic Point Software Developer Kit

Integrate the magic-point-sdk into your project to utilize its features across your entire application. This guide covers installation and setup for various JavaScript frameworks using TypeScript.

* Just need to initialize, everything is setted up by Magic Point.

Installation

Install the magic-point-sdk using npm, run the following command:

npm install magic-point-sdk

Usage

To use magic-point-sdk add following lines of code into your entry file (index.js/ts, main.js/ts, ...)

/// your imports
import MagicPoint from 'magic-point-sdk'

/// your code
new MagicPoint({apiKey: 'your-api-key-here'}) //Replaced `'your-api-key-here'` with your actual API key from Magic Point Management.

Code Example

import MagicPoint from './magic-point-sdk'
new MagicPoint({apiKey: 'generate-on-management-page',
                lng: "en",
                breakpoints: {
                    aKeyName: 120,
                    anotherKeyName: 576,
                    ...,
                    andSoOn: 1200
                }})

Options

keytypedefaultvaluesnote
apiKeystring''Generate on Management Page
lngstring"en""en", "ja"
breakpointsobject:{sm: 576, md: 768, lg: 992, xl: 1200, xxl: 1400}{key: number}Key name and value (number) is up to you, no restricted
0.0.12

3 months ago

0.0.11

4 months ago

0.0.10

4 months ago

0.0.9

4 months ago

0.0.8

4 months ago

0.0.5

4 months ago

0.0.4

4 months ago

0.0.7

4 months ago

0.0.6

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

6 months ago

0.0.0

6 months ago