{"id":19041939,"url":"https://github.com/writetome51/javascript-not","last_synced_at":"2026-05-08T19:30:16.092Z","repository":{"id":122062436,"uuid":"172266364","full_name":"writetome51/javascript-not","owner":"writetome51","description":"An alternative to the sneaky ! negation operator for Javascript","archived":false,"fork":false,"pushed_at":"2021-04-20T19:52:49.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T07:33:05.579Z","etag":null,"topics":["alternative","javascript","negation","operator","substitute"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/writetome51.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-23T21:31:12.000Z","updated_at":"2021-04-20T19:52:51.000Z","dependencies_parsed_at":"2023-08-17T19:34:26.694Z","dependency_job_id":null,"html_url":"https://github.com/writetome51/javascript-not","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/writetome51%2Fjavascript-not","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Fjavascript-not/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Fjavascript-not/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Fjavascript-not/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writetome51","download_url":"https://codeload.github.com/writetome51/javascript-not/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100512,"owners_count":19747683,"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":["alternative","javascript","negation","operator","substitute"],"created_at":"2024-11-08T22:33:27.035Z","updated_at":"2026-05-08T19:30:16.060Z","avatar_url":"https://github.com/writetome51.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# not(booleanExpression): boolean\n\nIt's an alternative to writing `!(booleanExpression)`.  \n`not` is just a little more noticeable than the sneaky `!` negation operator.\n\n## Examples\n```js\nnot(false); // --\u003e true\n\nnot(true); // --\u003e false\n\nnot(1 === 2); // --\u003e true\n\nif ( not( isEmpty( [1,2,3,4] ) ) ) {\n\tconsole.log('The array contains items');\n}\n  // console: 'The array contains items'\n```\n\n## Installation\n`npm i  @writetome51/not`  \n\n\n## Loading\n```js\nimport { not } from '@writetome51/not';\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwritetome51%2Fjavascript-not","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwritetome51%2Fjavascript-not","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwritetome51%2Fjavascript-not/lists"}