{"id":57628,"library":"swc-common","title":"SWC Common","description":"Common utilities for the swc project, including error handling and source maps.","status":"active","version":"14.0.4","language":"rust","source_language":null,"source_url":"https://github.com/swc-project/swc","tags":["swc","compiler","javascript","tooling"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nswc_common = \"14.0.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add swc_common","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Handler","correct":"use swc_common::errors::Handler;"}],"quickstart":{"code":"use swc_common::errors::Handler;\n\nfn main() {\n    let handler = Handler::new();\n    println!(\"SWC error handler created\");\n}","lang":"rust","description":"Use the error handler from swc_common."},"warnings":[],"env_vars":null,"search_vec":"'common':2,3 'compil':16 'error':10 'handl':11 'includ':9 'javascript':17 'map':14 'project':8 'sourc':13 'swc':1,7,15 'tool':18 'util':4","created_at":"2026-06-16T15:51:05.595445+00:00","updated_at":"2026-06-16T15:51:05.595445+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/swc-project/swc","github":"https://github.com/swc-project/swc","docs":"https://docs.rs/swc_common/","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-16","next_check":"2026-12-13","install_tag":null}}