{"full_name":"camsong/You-Dont-Need-jQuery","owner":"camsong","name":"You-Dont-Need-jQuery","shard":"1","url":"https://github.com/camsong/You-Dont-Need-jQuery","description":"Examples of how to do query, style, dom, ajax, event etc like jQuery with plain javascript.","homepage":"","topics":[],"tag_pages":[],"language":"JavaScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/948896?u=85a3066e49484f8c15bb9b9c40cbd331320813b8&v=4","created_at":"2015-11-21T16:02:26Z","pushed_at":"2026-11-06T00:12:53Z","metrics":{"stars":20106,"forks":1700,"watchers":509,"issues":73,"prs":207,"releases":2,"issues_open":1,"issues_closed":72,"prs_open":0,"prs_closed":19,"prs_merged":188,"discussions":0},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"},"week":{"stars":-6,"forks":-2,"base_day":"2026-11-04"},"month":{"stars":-13,"forks":-4,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[20131,20132,20132,20132,20131,20131,20131,20131,20131,20131,20131,20131,20131,20131,20130,20130,20129,20128,20127,20128,20126,20125,20125,20126,20126,20125,20124,20123,20122,20121,20121,20120,20119,20120,20121,20121,20120,20120,20119,20119,20119,20119,20119,20118,20117,20117,20117,20116,20116,20115,20116,20117,20113,20112,20112,20112,20111,20111,20111,20112,20105,20106,20106,20106,20106,20106,20106],"forks":[1708,1707,1707,1706,1706,1704,1704,1704,1704,1704,1704,1704,1704,1704,1705,1705,1705,1705,1705,1705,1705,1705,1705,1705,1706,1705,1705,1705,1705,1705,1705,1704,1704,1704,1704,1704,1704,1704,1704,1704,1704,1704,1704,1704,1704,1703,1703,1703,1703,1703,1703,1703,1703,1703,1703,1703,1702,1702,1702,1702,1702,1702,1701,1701,1700,1700,1700],"watchers":[519,520,520,520,520,520,520,520,520,520,520,520,519,519,519,519,519,519,516,515,515,515,515,515,515,514,514,513,513,513,513,513,513,513,513,513,513,512,512,512,512,512,512,512,512,512,512,512,512,510,510,510,510,510,509,509,509,509,509,509,null,509,509,509,509,509,509],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,1,1,1,1,1],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,0,0,0,0]},"boards":{},"same_owner":[],"issues":[{"number":288,"title":"now AI is good ,I can really dont kown everything!","comments":0,"created_at":"2026-11-09T16:26:25Z"}],"discussions":[],"latest_release":{"name":"Release 3.0","tag":"v3.0","published_at":"2026-11-06T00:12:54Z","body":"The guide now targets evergreen browsers. Every snippet that was changed is checked against jQuery 4 by a test.\n\n## Breaking: Internet Explorer is no longer supported\n\nSnippets target the latest Chrome, Edge, Firefox, Safari and Opera. IE-specific fallbacks are gone: vendor-prefixed `matchesSelector`, the `closest` polyfill, `Array.prototype.*.call`, `createEvent` / `initCustomEvent`, `pageYOffset`, `parentNode.removeChild`. If you still need IE, use the [last IE-compatible version](https://github.com/camsong/You-Dont-Need-jQuery/tree/c4e00b3) or [v2.0](https://github.com/camsong/You-Dont-Need-jQuery/tree/v2.0).\n\n## Native one-liners\n\n| jQuery | Native |\n|---|---|\n| `remove` / `insertBefore` / `insertAfter` | `el.remove()` / `el.before()` / `el.after()` |\n| `empty` | `el.replaceChildren()` |\n| `unwrap` / `replaceWith` | `parent.replaceWith(...parent.childNodes)` / `el.replaceWith()` |\n| `$(html)` | `<template>` |\n| `$.extend(true, …)` | `structuredClone()` |\n| `$.Deferred` | `Promise.withResolvers()` |\n| `scrollTop()` | `window.scrollY` |\n| `outerHeight()` / `outerWidth()` | `el.offsetHeight` / `el.offsetWidth` |\n\n## New sections\n\n- Request JSON (with the `response.ok` gotcha), Post JSON, Abort and timeout\n- `one` → `{ once: true }`, event delegation, removing several listeners at once with `AbortController`\n- `async` / `await` variants for `always` and `then`\n- Effects use the Web Animations API (`el.animate()`); `slideUp` / `slideDown` measure real height\n\n## Fixed snippets\n\nSnippets that threw or disagreed with jQuery: `nextAll` / `prevAll`, `:contains`, `append` / `prepend` with HTML strings, `clone` (now deep), `trigger`, `inArray`, `isPlainObject(null)`, `merge`, `globalEval`, `parseHTML`, `Deferred`, `fadeOut`, `fadeTo`, `animate`. Plus broken markdown, anchors and syntax errors in the README (#264).\n\n## Tests and tooling\n\n- Karma / webpack 1 / Babel 6 replaced with Vitest + jsdom; tests run in GitHub Actions on PRs and `master`\n- Travis CI config and badges removed (#263)\n\n## Translations\n\nAll 15 translations are synced with the current snippets (#268–#282).\n\n**Full changelog**: https://github.com/camsong/You-Dont-Need-jQuery/compare/v2.0...v3.0\n","is_prerelease":false},"readme":true,"readme_zh":true,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}