{"id":65660,"library":"source-map","title":"Source Map (WebJar)","description":"WebJar for the source-map JavaScript library, providing source map generation and consumption.","status":"active","version":"0.7.4","language":"java","source_language":null,"source_url":"https://github.com/mozilla/source-map","tags":["webjar","source-map","javascript","npm"],"install":[{"cmd":"<dependency>\n  <groupId>org.webjars.npm</groupId>\n  <artifactId>source-map</artifactId>\n  <version>0.7.4</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.webjars.npm:source-map:0.7.4'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"source-map","correct":"org.webjars.npm.source-map"}],"quickstart":{"code":"// This is a WebJar; include it as a dependency and access files via classpath.\n// Example: reading the source-map.js file\nimport org.webjars.WebJarAssetLocator;\n\npublic class Example {\n    public static void main(String[] args) {\n        WebJarAssetLocator locator = new WebJarAssetLocator();\n        String path = locator.getFullPath(\"source-map\", \"source-map.js\");\n        System.out.println(\"Asset path: \" + path);\n    }\n}","lang":"java","description":"Locates the source-map.js asset from the WebJar."},"warnings":[{"fix":"Use a web framework like Spring Boot to serve the static resources from the classpath.","message":"WebJars are client-side libraries bundled for JVM; they are not meant for direct Java import but for serving via web frameworks.","severity":"gotcha","affected_versions":"all versions"}],"env_vars":null,"search_vec":"'consumpt':17 'generat':15 'javascript':10,22 'librari':11 'map':2,9,14,21 'npm':23 'provid':12 'sourc':1,8,13,20 'source-map':7,19 'webjar':3,4,18","created_at":"2026-06-17T17:13:26.271604+00:00","updated_at":"2026-06-17T17:13:26.271604+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://webjars.org","github":"https://github.com/mozilla/source-map","docs":"https://appdoc.app/artifact/org.webjars.npm/source-map/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}