{"id":18074959,"url":"https://github.com/lnsp/js-stdlib","last_synced_at":"2026-03-09T20:02:12.534Z","repository":{"id":25495567,"uuid":"28926724","full_name":"lnsp/js-stdlib","owner":"lnsp","description":"The JavaScript Standard Container Library","archived":false,"fork":false,"pushed_at":"2015-01-08T20:52:35.000Z","size":284,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T00:02:59.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lnsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-07T18:03:41.000Z","updated_at":"2016-03-24T03:16:12.000Z","dependencies_parsed_at":"2022-08-06T04:15:41.524Z","dependency_job_id":null,"html_url":"https://github.com/lnsp/js-stdlib","commit_stats":null,"previous_names":["mooxmirror/jscl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lnsp/js-stdlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fjs-stdlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fjs-stdlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fjs-stdlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fjs-stdlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnsp","download_url":"https://codeload.github.com/lnsp/js-stdlib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fjs-stdlib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271600799,"owners_count":24787907,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-31T10:43:54.666Z","updated_at":"2025-12-12T04:10:47.411Z","avatar_url":"https://github.com/lnsp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"JavaScript Standard Container Library\r\n==============================\r\n\r\nThe JSCL provides a standard set of data structure and algorithm implementations to help JS devs by removing boilerplate code.\r\n\r\n### Be careful\r\n\u003e This is development level software.  Please do not unless you are\r\n\u003e familiar with what that means and are comfortable using that type\r\n\u003e of software.\r\n\r\nUsage\r\n-----------------\r\nInstall the package using `bower install jscl`. There should be a `lib` folder containing the minified and the standard version of the library. Just include it using the `\u003cscript\u003e` tag.\r\n\r\nData structures\r\n-----------------\r\n###Common methods\r\n- `empty()` checks if the data structure has no content\r\n- `size()` returns the count of elements that the object contains\r\n- `clear()` deletes all objects in the container\r\n\r\n###Included data structures\r\n- Stacks (`push(obj)` | `pop()` | `peek()` | `empty()` | `size()` | `clear()`)\r\n- Queue (`offer(obj)`| `poll()`| `peek()` | `empty()` | `size()`| `clear()`)\r\n\r\n---------------------------------------------------------------------------------------------------\r\n[License (MIT)](./LICENSE.txt)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fjs-stdlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnsp%2Fjs-stdlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fjs-stdlib/lists"}