Skip to content

Online JavaScript Source Map parser, supporting single file parsing and error stack parsing, helping developers quickly locate source code positions.

License

Notifications You must be signed in to change notification settings

whale4113/sourcemap-online

Repository files navigation

Source Map Online Parser

Source Map Online Parser Logo

Online JavaScript Source Map parser, supporting single file parsing and error stack parsing

Features

  • 🔍 Source Map Parsing: Parse and analyze JavaScript source maps online
  • 📝 Error Stack Parsing: Convert minified error stacks to original source locations
  • 🎯 Single File Support: Parse individual source map files
  • 🌙 Dark Mode: Support for both light and dark themes
  • 📱 Responsive Design: Works seamlessly on desktop and mobile devices
  • 🚀 Fast & Efficient: Built with Next.js and optimized for performance

Getting Started

Prerequisites

  • Node.js >= 22.15.0
  • pnpm >= 10.11.0

Installation

  1. Clone the repository:
git clone https://github.com/whale4113/sourcemap-online
cd sourcemap-online
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev
  1. Open http://localhost:3000 with your browser to see the result.

Development

Project Structure

sourcemap-online/
├── app/              # Next.js app directory
├── components/       # React components
├── lib/             # Utility functions and shared logic
├── public/          # Static assets
└── styles/          # Global styles

Available Scripts

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm start - Start production server
  • pnpm lint - Run ESLint

Tech Stack

Contributing

We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Follow the existing code style
  • Write meaningful commit messages
  • Add tests for new features
  • Update documentation as needed

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Next.js for the amazing framework
  • source-map-js for the source map parsing library
  • All contributors who have helped shape this project

About

Online JavaScript Source Map parser, supporting single file parsing and error stack parsing, helping developers quickly locate source code positions.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •