{"width":"100%","image_url":null,"version":"1.0","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaminora.hatenablog.com%2Fentry%2F2018%2F12%2F27%2F190420\" title=\"sinon\u3067Node\u306eprocess.env\u306bbool\u5024\u3092\u5b9a\u7fa9\u3057\u3066\u30c6\u30b9\u30c8 - \u7d19\u306e\u88cf\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://kaminora.hatenablog.com/entry/2018/12/27/190420","description":"javascript\u306e\u30c6\u30b9\u30c8\u3092\u66f8\u304f\u6642\u306b\u3001\u74b0\u5883\u5909\u6570\u3067\u3042\u308bprocess.env\u306b\u5024\u3092\u30bb\u30c3\u30c8\u3057\u3066\u30c6\u30b9\u30c8\u3057\u305f\u6642\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002 \u305d\u3093\u306a\u6642\u3001process.env.HOGE= 'HOGE'; \u306e\u3088\u3046\u306b\u6587\u5b57\u5217\u3092\u4ee3\u5165\u3059\u308b\u6642\u306b\u306f\u554f\u984c\u306f\u8d77\u3053\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001process.env.FUGA = true\u3068\u3044\u3046\u3088\u3046\u306b bool\u5024\u3092\u4ee3\u5165\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002 \u305d\u308c\u306b\u3064\u3044\u3066\u5c11\u3057\u30e1\u30e2\u3092\u6b8b\u3057\u307e\u3059\u3002 \u4f55\u304c\u8d77\u3053\u308b\u306e\u304b Node.js\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002 Assigning a property on process.env will implicitly convert the valu\u2026","author_name":"kaminora","height":"190","published":"2018-12-27 19:04:20","blog_title":"\u7d19\u306e\u88cf\u306e\u30e1\u30e2","provider_url":"https://hatena.blog","blog_url":"https://kaminora.hatenablog.com/","categories":[],"title":"sinon\u3067Node\u306eprocess.env\u306bbool\u5024\u3092\u5b9a\u7fa9\u3057\u3066\u30c6\u30b9\u30c8","author_url":"https://blog.hatena.ne.jp/kaminora/","type":"rich"}