# GS1DigitalLinkToolkit.js This is a JavaScript toolkit for translating between GS1 element strings and GS1 Digital Link URIs * [Introduction](#introduction) * [Overview](#overview) * [Demo](#demo) * [Installation](#installation) * [Basic Usage](#basic-usage) * [Additional Methods](#additional-methods) * [Data Resources](#data-resources) * [Contributors](#contributors) * [Disclaimer](#disclaimer) * [Licence](#licence) ## Introduction The GS1 identification system is widely used worldwide within product barcodes, as well as within barcodes for shipments, assets, locations, etc. Further information about GS1 can be found at https://www.gs1.org Details about the GS1 identification system and GS1 Application Identifiers can be found in the GS1 General Specifications at https://www.gs1.org/docs/barcodes/GS1_General_Specifications.pdf and a searchable list of GS1 Application Identifiers is at https://www.gs1.org/standards/barcodes/application-identifiers?lang=en GS1 Digital Link is a new Web URI syntax for expressing GS1 Application Identifiers and their values in a Web-friendly format, to make it easier to connect identifiers of products, shipments, locations, assets etc. to related online information and services on the Web via simple Web redirects using Web resolver infrastructure. The GS1 Digital Link syntax is defined in https://www.gs1.org/standards/Digital-Link/1-0 A demonstration tool is available at https://id.gs1.org/uritool although it does not currently use this toolkit See also https://github.com/gs1/digital-link.js for a related toolkit for constructing and validating GS1 Digital Link URIs ## Overview This toolkit provides six translation methods, as indicated in the overview diagram below ![Overview diagram](GS1DigitalLinkToolkitJS-overview.png) ## Demo A simple interactive demonstration Web page is available at https://gs1.github.io/GS1DigitalLinkToolkit.js/ ## Installation Include the JavaScript file GS1DigitalLinkToolkit.js from the source folder /src e.g. ```html