30秒代码

满足你所有开发需求的简短 JavaScript 代码片段。「Short JavaScript code snippets for all your development needs」

Github stars Tracking Chart

Logo

30 seconds of code

Short JavaScript code snippets for all your development needs

  • Visit our website to view our snippet collection.
  • Use the Search page to find snippets that suit your needs. You can search by name, tag, language or using a snippet's description. Just start typing a term and see what comes up.
  • Browse the JavaScript Snippet List to see all the snippets in this project or click individual tags at the top of the same page to narrow down your search to a specific tag.
  • Click on each snippet card to view the whole snippet, including code, explanation and examples.
  • You can use the button on the right side of a snippet card to copy the code to clipboard.
  • If you like the project, give it a star. It means a lot to the people maintaining it.

Want to contribute?

Credits & Sponsors

  • This repository is maintained by the 30-seconds organization on GitHub.
  • All snippets are licensed under the CC0-1.0 License, unless explicitly stated otherwise.
  • Logos, names and trademarks are not to be used without the explicit consent of the maintainers or owners of the 30 seconds GitHub organization.
  • Our website is powered by Netlify, Gatsby, Travis CI & GitHub.

Main metrics

Overview
Name With OwnerChalarangelo/30-seconds-of-code
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 6)
PlatformWeb browsers, Cross-platform, Linux, Mac, Windows
License:Creative Commons Attribution 4.0 International
所有者活动
Created At2017-11-29 17:35:03
Pushed At2025-04-20 08:46:11
Last Commit At2025-04-20 11:46:05
Release Count13
Last Release Namev13.0.0 (Posted on )
First Release Namev1.0.0 (Posted on 2018-07-16 19:45:30)
用户参与
Stargazers Count123.4k
Watchers Count2.6k
Fork Count12.1k
Commits Count10.1k
Has Issues Enabled
Issues Count297
Issue Open Count0
Pull Requests Count824
Pull Requests Open Count0
Pull Requests Close Count797
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private