JSPM

leet-code-read-me-generator

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q31659F
  • License ISC

A CLI tool to automatically generate a structured README for LeetCode solutions, making it easier to document your coding challenges and projects.

Package Exports

    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 (leet-code-read-me-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    🧠 LeetCode README Generator

    Generator Badge Node.js Updated

    Automatically create a colorful and structured README.md from your solved LeetCode problems 🚀

    💡 Features 🔄 Fetches all LeetCode questions via the official API

    🧠 Reads your GitHub repo file structure (make sure your solution filename has the number of the question)

    🧩 Matches filenames with LeetCode question IDs

    🎨 Builds a Bootstrap-powered HTML table with colorful badges

    📄 Generates a beautiful README.md file

    Step One

    npm install -g leetcode-readme-generator

    Step Two

    leetcode-readme GitHub_API_URL favLang

    Supported languages : const supportedLanguages = ["javascript", "python", "java", "c++", "c#", "go", "rust", "typescript", "php", "ruby", "swift", "kotlin", "dart", "scala", "shell"];

    leetcode-readme https://api.github.com/repos/yourusername/yourLeetCodeRepoName/contents Java

    🚀 My LeetCode Journey

    Problems Solved TypeScript Updated

    A visually organized collection of my LeetCode solutions 🚀
    Click through each problem to see the code, patterns, and explanations!


    Question number Question Title Difficulty Link to description
    1 Two Sum Easy https://leetcode.com/problems/two-sum/description/
    3 Longest Substring Without Repeating Characters Medium https://leetcode.com/problems/longest-substring-without-repeating-characters/description/
    4 Median of Two Sorted Arrays Hard https://leetcode.com/problems/median-of-two-sorted-arrays/description/
    5 Longest Palindromic Substring Medium https://leetcode.com/problems/longest-palindromic-substring/description/
    6 Zigzag Conversion Medium https://leetcode.com/problems/zigzag-conversion/description/
    7 Reverse Integer Medium https://leetcode.com/problems/reverse-integer/description/
    8 String to Integer (atoi) Medium https://leetcode.com/problems/string-to-integer-atoi/description/
    9 Palindrome Number Easy https://leetcode.com/problems/palindrome-number/description/
    11 Container With Most Water Medium https://leetcode.com/problems/container-with-most-water/description/
    12 Integer to Roman Medium https://leetcode.com/problems/integer-to-roman/description/
    13 Roman to Integer Easy https://leetcode.com/problems/roman-to-integer/description/
    14 Longest Common Prefix Easy https://leetcode.com/problems/longest-common-prefix/description/
    16 3Sum Closest Medium https://leetcode.com/problems/3sum-closest/description/
    17 Letter Combinations of a Phone Number Medium https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/
    19 Remove Nth Node From End of List Medium https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/
    20 Valid Parentheses Easy https://leetcode.com/problems/valid-parentheses/description/
    21 Merge Two Sorted Lists Easy https://leetcode.com/problems/merge-two-sorted-lists/description/
    22 Generate Parentheses Medium https://leetcode.com/problems/generate-parentheses/description/
    23 Merge k Sorted Lists Hard https://leetcode.com/problems/merge-k-sorted-lists/description/
    24 Swap Nodes in Pairs Medium https://leetcode.com/problems/swap-nodes-in-pairs/description/
    27 Remove Element Easy https://leetcode.com/problems/remove-element/description/
    28 Find the Index of the First Occurrence in a String Easy https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/description/
    31 Next Permutation Medium https://leetcode.com/problems/next-permutation/description/
    34 Find First and Last Position of Element in Sorted Array Medium https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/description/
    35 Search Insert Position Easy https://leetcode.com/problems/search-insert-position/description/
    41 First Missing Positive Hard https://leetcode.com/problems/first-missing-positive/description/
    48 Rotate Image Medium https://leetcode.com/problems/rotate-image/description/
    49 Group Anagrams Medium https://leetcode.com/problems/group-anagrams/description/
    56 Merge Intervals Medium https://leetcode.com/problems/merge-intervals/description/
    57 Insert Interval Medium https://leetcode.com/problems/insert-interval/description/
    58 Length of Last Word Easy https://leetcode.com/problems/length-of-last-word/description/
    61 Rotate List Medium https://leetcode.com/problems/rotate-list/description/
    66 Plus One Easy https://leetcode.com/problems/plus-one/description/
    71 Simplify Path Medium https://leetcode.com/problems/simplify-path/description/
    73 Set Matrix Zeroes Medium https://leetcode.com/problems/set-matrix-zeroes/description/
    74 Search a 2D Matrix Medium https://leetcode.com/problems/search-a-2d-matrix/description/
    75 Sort Colors Medium https://leetcode.com/problems/sort-colors/description/
    77 Combinations Medium https://leetcode.com/problems/combinations/description/
    78 Subsets Medium https://leetcode.com/problems/subsets/description/
    80 Remove Duplicates from Sorted Array II Medium https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/description/
    82 Remove Duplicates from Sorted List II Medium https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/description/
    83 Remove Duplicates from Sorted List Easy https://leetcode.com/problems/remove-duplicates-from-sorted-list/description/
    86 Partition List Medium https://leetcode.com/problems/partition-list/description/
    92 Reverse Linked List II Medium https://leetcode.com/problems/reverse-linked-list-ii/description/
    125 Valid Palindrome Easy https://leetcode.com/problems/valid-palindrome/description/
    136 Single Number Easy https://leetcode.com/problems/single-number/description/
    137 Single Number II Medium https://leetcode.com/problems/single-number-ii/description/
    141 Linked List Cycle Easy https://leetcode.com/problems/linked-list-cycle/description/
    143 Reorder List Medium https://leetcode.com/problems/reorder-list/description/
    151 Reverse Words in a String Medium https://leetcode.com/problems/reverse-words-in-a-string/description/
    153 Find Minimum in Rotated Sorted Array Medium https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/description/
    162 Find Peak Element Medium https://leetcode.com/problems/find-peak-element/description/
    164 Maximum Gap Medium https://leetcode.com/problems/maximum-gap/description/
    165 Compare Version Numbers Medium https://leetcode.com/problems/compare-version-numbers/description/
    187 Repeated DNA Sequences Medium https://leetcode.com/problems/repeated-dna-sequences/description/
    189 Rotate Array Medium https://leetcode.com/problems/rotate-array/description/
    206 Reverse Linked List Easy https://leetcode.com/problems/reverse-linked-list/description/
    223 Rectangle Area Medium https://leetcode.com/problems/rectangle-area/description/
    238 Product of Array Except Self Medium https://leetcode.com/problems/product-of-array-except-self/description/
    240 Search a 2D Matrix II Medium https://leetcode.com/problems/search-a-2d-matrix-ii/description/
    242 Valid Anagram Easy https://leetcode.com/problems/valid-anagram/description/
    283 Move Zeroes Easy https://leetcode.com/problems/move-zeroes/description/
    378 Kth Smallest Element in a Sorted Matrix Medium https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/description/
    442 Find All Duplicates in an Array Medium https://leetcode.com/problems/find-all-duplicates-in-an-array/description/
    500 Keyboard Row Easy https://leetcode.com/problems/keyboard-row/description/