{"id":19349364,"url":"https://github.com/markcarrrr/mini-js-library","last_synced_at":"2026-07-07T08:30:21.857Z","repository":{"id":7485882,"uuid":"8834541","full_name":"markcarrrr/mini-js-library","owner":"markcarrrr","description":"miniLib - a (very) basic mini javascript library","archived":false,"fork":false,"pushed_at":"2014-02-10T12:18:59.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T15:19:04.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markcarrrr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-17T13:11:57.000Z","updated_at":"2014-06-08T17:49:10.000Z","dependencies_parsed_at":"2022-09-01T16:22:38.051Z","dependency_job_id":null,"html_url":"https://github.com/markcarrrr/mini-js-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcarrrr%2Fmini-js-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcarrrr%2Fmini-js-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcarrrr%2Fmini-js-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcarrrr%2Fmini-js-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markcarrrr","download_url":"https://codeload.github.com/markcarrrr/mini-js-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457988,"owners_count":19804489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T04:25:56.579Z","updated_at":"2026-07-07T08:30:21.814Z","avatar_url":"https://github.com/markcarrrr.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"vanilla-js-library\n==================\n\nMini Vanilla JavaScript Library\n\nDemo: https://rawgithub.com/markcarr/mini-js-library/master/index.html\n\nminiLib has been tested in the following browsers:\n\u003cul\u003e\n\u003cli\u003eIE7-10\u003c/li\u003e\n\u003cli\u003eFirefox\u003c/li\u003e\n\u003cli\u003eChrome\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003chr\u003e\n\nID selector\u003cbr\u003e\n$(#id);\n\n\u003chr\u003e\n\nClass selector\u003cbr\u003e\n$(.classname);\n\n\u003chr\u003e\n\nClass and tag selector\u003cbr\u003e\n$(.classname, tagname);\n\n\u003chr\u003e\n\nTag selector\u003cbr\u003e\n$(tagname);\n\n\u003chr\u003e\n\naddEvent\u003cbr\u003e\nExample: Click event\u003cbr\u003e\naddEvent(element, event, function(event){\u003cbr\u003e\n\t// Code goes here\u003cbr\u003e\n});\n\n\u003chr\u003e\n\nPrevent default event\u003cbr\u003e\nstop(event);\n\n\u003chr\u003e\n\nAdd classname to element\u003cbr\u003e\naddClass(element, classname);\n\n\u003chr\u003e\n\nRemove classname from element\u003cbr\u003e\nremoveClass(element, classname);\n\n\u003chr\u003e\n\nToggle classname on element\u003cbr\u003e\ntoggleClass(element, classname);\n\n\u003chr\u003e\n\nCheck to see if element has classname - boolean\u003cbr\u003e\nhasClass(element, classname);\n\n\u003chr\u003e\n\nFor each looping\u003cbr\u003e\n[].forEach.call(array, function(el){\u003cbr\u003e\n\t// Code goes here\u003cbr\u003e\n});\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkcarrrr%2Fmini-js-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkcarrrr%2Fmini-js-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkcarrrr%2Fmini-js-library/lists"}