{"id":16978696,"url":"https://github.com/srph/node-stringify-object-values","last_synced_at":"2026-02-04T14:03:52.537Z","repository":{"id":57372681,"uuid":"65652559","full_name":"srph/node-stringify-object-values","owner":"srph","description":"Stringify an object's values","archived":false,"fork":false,"pushed_at":"2020-07-30T12:12:17.000Z","size":3,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T11:16:28.485Z","etag":null,"topics":["defineplugin","env","webpack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/srph.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":"2016-08-14T06:02:41.000Z","updated_at":"2023-03-10T10:16:50.000Z","dependencies_parsed_at":"2022-09-26T17:00:49.077Z","dependency_job_id":null,"html_url":"https://github.com/srph/node-stringify-object-values","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/srph/node-stringify-object-values","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fnode-stringify-object-values","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fnode-stringify-object-values/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fnode-stringify-object-values/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fnode-stringify-object-values/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srph","download_url":"https://codeload.github.com/srph/node-stringify-object-values/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fnode-stringify-object-values/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260898341,"owners_count":23079234,"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":["defineplugin","env","webpack"],"created_at":"2024-10-14T01:44:02.077Z","updated_at":"2026-02-04T14:03:52.459Z","avatar_url":"https://github.com/srph.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## stringify-object-values [![npm version](http://img.shields.io/npm/v/stringify-object-values.svg?style=flat)](https://npmjs.org/package/stringify-object-values) [![Build Status](https://travis-ci.org/srph/node-stringify-object-values.svg?branch=master)](https://travis-ci.org/srph/node-stringify-object-values?branch=master)\n```\nnpm i stringify-object-values\n```\nStringifies each value of an object. This is useful when paired with [Webpack's DefinePlugin](https://webpack.github.io/docs/list-of-plugins.html#defineplugin).\n\n## Usage\n```js\nvar stringify = require('stringify-object-values');\n\nstringify({\n  hello: 'world',\n  favorite: 1,\n  equation: '1+1',\n  random: {},\n  arr: []  \n});\n\n/* {\n  hello: \"'world'\",\n  favorite: 1,\n  equation: \"'1+1'\",\n  random: \"{}\",\n  arr: \"[]\"\n} */\n```\n\n#### With `webpack.DefinePlugin`\n```js\nvar webpack = require('webpack');\nvar stringify = require('stringify-object-values');\n\nmodule.exports = {\n  plugins: [\n    new webpack.DefinePlugin({ 'process.env': stringify(process.env) });\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrph%2Fnode-stringify-object-values","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrph%2Fnode-stringify-object-values","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrph%2Fnode-stringify-object-values/lists"}