Getting started with XCM Analyser ๐ โ
This guide guides you through implementation of XCM Analyser that allows you to translate locations to human readable format (URLs).
Install XCM Analyser package โ
sh
# npm
yarn add || pnpm | npm install @paraspell/xcm-analyser
Importing package โ
After installing the XCM-Analyser package you can import its functionality in following way:
ts
import { convertLocationToUrl } from '@paraspell/xcm-analyser'; //To import conversion from object
import { convertLocationToUrlJson } from '@paraspell/xcm-analyser'; //To import conversion from JSON
import { convertXCMToUrls } from '@paraspell/xcm-analyser'; //To import conversion from XCM message
import * as xcm-analyser from '@paraspell/xcm-analyser'; //To import entire functionality