{"id":21155596,"url":"https://github.com/vladocar/femtojs","last_synced_at":"2025-06-11T20:39:46.542Z","repository":{"id":34256158,"uuid":"173979808","full_name":"vladocar/femtoJS","owner":"vladocar","description":"femtoJS - Really small JavaScript (ES6) library for DOM manipulation.","archived":false,"fork":false,"pushed_at":"2022-04-04T13:21:05.000Z","size":77,"stargazers_count":141,"open_issues_count":2,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-01-01T13:04:23.340Z","etag":null,"topics":["dom","ecmascript6","es6","es6-javascript","javascript","jquery"],"latest_commit_sha":null,"homepage":"https://vladocar.github.io/femtoJS/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vladocar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-05T16:16:07.000Z","updated_at":"2023-10-28T19:07:05.000Z","dependencies_parsed_at":"2022-08-08T00:02:30.890Z","dependency_job_id":null,"html_url":"https://github.com/vladocar/femtoJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladocar%2FfemtoJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladocar%2FfemtoJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladocar%2FfemtoJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladocar%2FfemtoJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladocar","download_url":"https://codeload.github.com/vladocar/femtoJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225538239,"owners_count":17485162,"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":["dom","ecmascript6","es6","es6-javascript","javascript","jquery"],"created_at":"2024-11-20T11:23:59.191Z","updated_at":"2024-11-20T11:23:59.810Z","avatar_url":"https://github.com/vladocar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# femtoJS\n\n[![License MIT](https://img.shields.io/badge/licence-MIT-blue.svg)](https://choosealicense.com/licenses/mit/)\n[![Gzip Size](https://img.badgesize.io/https://unpkg.com/femtojs@1.0.1/src/femtoJS.min.js?compression=gzip)](https://unpkg.com/femtojs@1.0.1/src/femtoJS.min.js)\n[![npm](https://img.shields.io/npm/v/femtojs.svg)](https://www.npmjs.com/package/femtojs) [![Join the chat at https://gitter.im/femtoJS/community](https://badges.gitter.im/femtoJS/community.svg)](https://gitter.im/femtoJS/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\nSmall JS (ES6) library for DOM manipulation.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"logo/femtoJS-logo.png\"/\u003e\u003c/p\u003e\n\nSo, what is femtoJS? femtoJS is a JavaScript library for basic DOM manipulation. It has a jQuery-inspired syntax and supports chaining.\n\nfemtoJS is about 100 lines of code in size, and the entire library weighs in at just under 0.9kB compressed and gzipped.\n\n\nIt works in all the browsers that support \u003ca href=\"https://caniuse.com/#search=es6\"\u003eES6\u003c/a\u003e. If you need to support older browsers take a look into my previous project \u003ca href=\"https://github.com/vladocar/nanoJS\"\u003enanoJS\u003c/a\u003e.\n\n\nYou can use direct download or:\n\n```sh\nnpm i femtojs\n```\n\n```sh\nyarn add femtojs\n```\n\n```html\n\u003cscript src=\"https://unpkg.com/femtojs@1.0.1/src/femtoJS.min.js\"\u003e\u003c/script\u003e\n\nOR\n\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/femtojs@1.0.1/src/femtoJS.min.js\"\u003e\u003c/script\u003e\n```\n\n### Utils:\n\naddClass    \nattr  \ncss    \nempty    \ngetAttr  \nhtml  \ninsertAfter, insertBefore, insertFirst insertLast  \noffset  \non  \nparent  \nremoveAttr  \nremoveClass    \ntext  \ntoggleClass  \n\n[You can find it here some basic examples.](docs.md)\n\n[Simple demo](https://vladocar.github.io/femtoJS/off-on.html)\n\n[Project femtoJS](https://vladocar.github.io/femtoJS/)\n\n\u003ch3\u003eLicense\u003c/h3\u003e\n\nThis project is licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladocar%2Ffemtojs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladocar%2Ffemtojs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladocar%2Ffemtojs/lists"}