Package Exports
- sparqljs-gui
- sparqljs-gui/build/yasgui.min.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sparqljs-gui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
- Create the endpoint url and save in local storage with name sparqlUrl
- Install the package using command- npm i sparqljs-gui
- Use-
new Yasgui(document.getElementById("yasgui")!, {
requestConfig: {
endpoint: apiUrl
},
copyEndpointOnNewTab: false ,
endpointCatalogueOptions: {
getData: () => {
return [
{ endpoint:
${apiUrl}
}, ] } }, });