{"id":19405199,"url":"https://github.com/outofsyncstudios/lodash-ex","last_synced_at":"2025-02-25T00:45:45.992Z","repository":{"id":35089229,"uuid":"118171571","full_name":"OutOfSyncStudios/lodash-ex","owner":"OutOfSyncStudios","description":"[DEPRECATED] Pragmatic utility extensions for Lodash","archived":false,"fork":false,"pushed_at":"2022-12-30T18:31:39.000Z","size":693,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T11:33:53.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/OutOfSyncStudios.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":"2018-01-19T19:55:11.000Z","updated_at":"2021-07-04T03:55:34.000Z","dependencies_parsed_at":"2023-01-15T13:37:02.585Z","dependency_job_id":null,"html_url":"https://github.com/OutOfSyncStudios/lodash-ex","commit_stats":null,"previous_names":["mediaxpost/lodashext"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutOfSyncStudios%2Flodash-ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutOfSyncStudios%2Flodash-ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutOfSyncStudios%2Flodash-ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutOfSyncStudios%2Flodash-ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OutOfSyncStudios","download_url":"https://codeload.github.com/OutOfSyncStudios/lodash-ex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240582044,"owners_count":19824145,"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-10T11:37:23.158Z","updated_at":"2025-02-25T00:45:45.970Z","avatar_url":"https://github.com/OutOfSyncStudios.png","language":"JavaScript","readme":"# lodash-ex\n\n[![NPM](https://nodei.co/npm/@outofsync/lodash-ex.png?downloads=true)](https://nodei.co/npm/@outofsync/lodash-ex/)\n\n[![Actual version published on npm](http://img.shields.io/npm/v/@outofsync/lodash-ex.svg)](https://www.npmjs.org/package/@outofsync/lodash-ex)\n[![Travis build status](https://travis-ci.org/OutOfSyncStudios/lodash-ex.svg)](https://www.npmjs.org/package/@outofsync/lodash-ex)\n[![Total npm module downloads](http://img.shields.io/npm/dt/@outofsync/lodash-ex.svg)](https://www.npmjs.org/package/@outofsync/lodash-ex)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e60352058157440f8daf9135749f0f51)](https://www.codacy.com/app/OutOfSyncStudios/lodash-ex?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=OutOfSyncStudios/lodash-ex\u0026amp;utm_campaign=Badge_Grade)\n[![Codacy Coverage Badge](https://api.codacy.com/project/badge/Coverage/e60352058157440f8daf9135749f0f51)](https://www.codacy.com/app/OutOfSyncStudios/lodash-ex?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=OutOfSyncStudios/lodash-ex\u0026utm_campaign=Badge_Coverage)\n[![Dependencies badge](https://david-dm.org/OutOfSyncStudios/lodash-ex/status.svg)](https://david-dm.org/OutOfSyncStudios/lodash-ex?view=list)\n\n\nSimple and useful utility extensions for Lodash.\n\n\u003ca name=\"installation\"\u003e\u003c/a\u003e\n# [Installation](#installation)\n\n```shell\n  npm install @outofsync/lodash-ex\n```\n\n\u003ca name=\"usage\"\u003e\u003c/a\u003e\n# [Usage](#usage)\nlodash-ex replaces and extends lodash, so it only the lodash-ex module needs to be included in your code:\n\n```js\n  const _ = require('@outofsync/lodash-ex');\n\n  const data = { a: 'a', b: 'b' };\n  // Use lodash as you normally would\n  console.log(_.pick(data, ['a']);\n```\n\n\u003ca name=\"api\"\u003e\u003c/a\u003e\n# [API Reference](#api)\n\n## _.isUnset(value) \u0026#x27fe; boolean\nTests if the value provided is `null` or `undefined`\n\n```js\n  _.isUnset(null);\n  _.isUnset(undefined);\n  _.isUnset(false);\n```\n\n**Results**:\n```\n  true\n  true\n  false\n```\n\n## _.hasValue(value) \u0026#x27fe; boolean\nTests if the value provided is not `null` or `undefined`\n\n```js\n  _.hasValue(null);\n  _.hasValue(undefined);\n  _.hasValue(false);\n```\n\n**Results**:\n```\n  false\n  false\n  true\n```\n\n## _.implies(a, b) \u0026#x27fe; boolean\nTest the logic imply operation a =\u003e b, providing the following truth table:\n\n| A | B | Result |\n| - | - | ------ |\n| T | T | T |\n| T | F | F |\n| F | T | T |\n| F | F | T |\n\n## _.bool(value) \u0026#x27fe; boolean\nCoerces the `value` provided to a boolean value.\n\n```js\n  _.bool(false);\n  _.bool(0);\n  _.bool(0.0);\n  _.bool('');\n  _.bool(null);\n  _.bool(undefined);\n  _.bool(true);\n  _.bool(1);\n  _.bool(3.14);\n  _.bool('abcd');\n  _.bool([]);\n  _.bool({});\n  _.bool(() =\u003e {}));\n```\n\n**Results**:\n```\n  false\n  false\n  false\n  false\n  false\n  false\n  true\n  true\n  true\n  true\n  true\n  true\n  true\n```\n\n\u003ca name=\"license\"\u003e\u003c/a\u003e\n# [License](#license)\n\nCopyright (c) 2018,2019 Out of Sync Studios LLC -- Licensed under the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutofsyncstudios%2Flodash-ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutofsyncstudios%2Flodash-ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutofsyncstudios%2Flodash-ex/lists"}