{"_id":"multi-profile","_rev":"67-dc888bf53b2ae386cb689241623a1bcc","name":"multi-profile","description":"Multi-profile is a module to manage global configurations for multiple profiles.","dist-tags":{"latest":"5.1.3"},"versions":{"0.0.3":{"name":"multi-profile","version":"0.0.3","description":"Profile manager for multiple users.","main":"lib/profile.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":"","license":"BSD","dependencies":{"fs-sync":"0.0.2"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@0.0.3","dist":{"shasum":"56a8e86d7d0a9e3ddee08a4656d22ce95e6e54e1","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-0.0.3.tgz","integrity":"sha512-vQOfbKyClwkDkoBbsat54ACJSwQMhohFmoI+ThIY1drEPOi2HC4AezJTxPMYv/AYlTkByHRubVuxPShSAwkpCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZC+IJzDFmAzdMUzX1vQIXeqs2apUzRFDX1CXWRKBDYAiEA42Y9BfyKKrGrQRR2a6mOG6MG+yLERrwBCZOw9X2Cv6M="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.4":{"name":"multi-profile","version":"0.1.4","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"0.0.2"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@0.1.4","dist":{"shasum":"ac26afc3147a6895c606ded79c61ce3ad6f6506f","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-0.1.4.tgz","integrity":"sha512-SwPyrpeEdtGNlLHv9DCpxmRkVsQoCVhRLIOzKypatOtZo5avOPrXcU4SmlyKXOrbq2gdKukL50550YGk5QI7CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFFVj9EKcdK0AxkNv2/SZxPkZcpY1n4gR3uEpavO1N5AIgNy+XvVqZm+iZ9RStLA3CUtTeO5IvOb20u3gPKGvFKuY="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.5":{"name":"multi-profile","version":"0.1.5","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"0.0.2"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@0.1.5","dist":{"shasum":"fced97c0679c3581e602fce3eccda94d3a52e720","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-0.1.5.tgz","integrity":"sha512-Ri88npyoMdoBafhqWj8MpJro3OsvUdAGwaZyNf1OssK5axjwyCBnh+zGOc3PNDk7swmJQAxTNClE6t3MEFPdZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHUneHouQF75wyojqf4d2eMkyI5xAmQJjuz5ijzAeQBwIgGknGQHzsR7YXzzooBd3KuyIQYLIgJyFuz+mYYSpAzS8="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.7":{"name":"multi-profile","version":"0.1.7","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"0.2.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@0.1.7","dist":{"shasum":"fc849f0dba0babaa25e6fda35ad4b230055cf8d4","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-0.1.7.tgz","integrity":"sha512-hwSgHJDJ8onpBvtGmwhnq2kyJQM05CqqhjxrrRodCC32USfSa1QJ+4YPpZsu62W2F83n13WzitZV8cH87Gm4YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRRosPeitGaNMnlu9cYNUrYjvpBX55NJM4tZlW7D4xeAiEAuhHcs+untOzNCBYIN/0+NppWzno4pTUOvNvR0k4UUzc="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.8":{"name":"multi-profile","version":"0.1.8","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"0.2.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@0.1.8","dist":{"shasum":"26406e54f6b43f9696281bd624ed5c928914bf82","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-0.1.8.tgz","integrity":"sha512-iGMsSGpGQzaruLrqCl0OTzbt+GRIuq7PvAmpXbZbXZ9FdhLzsIkEcQ8cOyI+scX3tk2pUd3v/miypC2JdLMCXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLp30WMjKsQzyEaXJk+CdrrLN4l8suZ1SOSqHkKNon0QIgV+8tGtVOkxydwj9ARUFQMRnEvJiI2vfljMa5oLcTD/8="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.10":{"name":"multi-profile","version":"0.1.10","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@0.1.10","dist":{"shasum":"6caa15d1152e11e6b4f8313f7303e3157f57bcd1","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-0.1.10.tgz","integrity":"sha512-lPpjLBecYxBowxl8c5D1EhetcKluCew0Lfomcu1+Yqw0aGB+ZKDFbj/0mNQ0S7MnmK/dJOj+1+iPCToEY1MpKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmhJo8LisaJbbbgTCsb0/KWlvvqrJCiqcDxox+PUA4ggIhAOjwBzqDF/9ZdJiBNKBuht4Mh+3/pJ9MjgUt5oOXlCyI"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.11":{"name":"multi-profile","version":"0.1.11","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@0.1.11","dist":{"shasum":"2135ec287d19434c11faf4084b117f50b3272244","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-0.1.11.tgz","integrity":"sha512-hr+b/NE9q1kJ8iq5igfkiiy6qDVm7yJmNR6JnTpx5DQZASQtMNr1B3U6xwZd/cuWmxEA260L/H8P1E6wbea2ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpBAEwzmomQuFlQF4GZdUzsZfLRS8d7q/ZxzMLwbGHHQIhAJNMcNcy2SSdhvE9HNhgN9cGv2Yy9RuCkXsznpnsS2iT"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"1.0.2":{"name":"multi-profile","version":"1.0.2","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@1.0.2","dist":{"shasum":"add8bc659c355a18810272e1aa44000787806697","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-1.0.2.tgz","integrity":"sha512-bkc57Enqxuq0ak+sbocnl/Jb4Bd0QcJWDAtRMldlDXonBwHk/7JYaU99ExVQAVKTcOJ0LnA7BHMuJIuuVP8rAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCALNTbcatdg9uvqcfLKCdpgSywvzU49j2NL4HRNmu3NgIgK42Cs47Paw/fAEbTzaIzfyeLron0ksTzNfyemND0RlM="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"2.0.1":{"name":"multi-profile","version":"2.0.1","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@2.0.1","dist":{"shasum":"226ee7b7392b819275e9e0a8ab00f6139d642087","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-2.0.1.tgz","integrity":"sha512-g+XCwQr+MKG6RZL6I9a/pBlVPrpD5FDNj7GrB6V5KYp4mPjaELl3+jSez50wnv7KyrROtADFgOJVU7GB8EtRnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0MM8WSeTzxjjGNrwbn+a+X096/OnoHUACzz2q+VkRGAIgOb1SuMC3pcy3XQ1kNy15tv/ohiOS8oM8kNA/2FYDT2Q="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"2.1.1":{"name":"multi-profile","version":"2.1.1","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@2.1.1","dist":{"shasum":"dc2e6ca230cb6f6202d40b5f9d6ad118b0e06b15","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-2.1.1.tgz","integrity":"sha512-K4RO2oYuWbn+d8FhDNmaqjMEIBh3avef5//Ruwe8JzkROwSOUvIMtiRGZHdhfyELriMedHuUFj+/oQRoyUwKtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmqUvWYBvOHSwQgz8mkBMkG2dpOY4rEiDU/cyqyeKxZAiEAvbwG8fSar5j8r/mkU3Y9NjfWKCPTy+Oa0YEX+aG+Vpg="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"3.1.1":{"name":"multi-profile","version":"3.1.1","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"_id":"multi-profile@3.1.1","dist":{"shasum":"0a848db4be13a9002118ec23c289d22a855815d2","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-3.1.1.tgz","integrity":"sha512-0Mq1t28OgFfK+ihzWCDNX3xqpRFeezcWDMqliX7W8WifGX3ikXi2UC0o5qmMtKknKIdTJM3/FBWrQupwdWzReA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChaglLNVx9H0gNRcbS46lFtT/Z+ZR+3xZelbHF07/j6AIhAPCEMzq2zB2brHbVZBmtFAlIIZ8i8bVPdL3grHDttgbb"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"3.2.0":{"name":"multi-profile","version":"3.2.0","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@3.2.0","dist":{"shasum":"c7c90aa9707d99eb217bf6359447ced8d0c09dc5","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-3.2.0.tgz","integrity":"sha512-Oy8kR40EX8LKa/jqBfc1zIvexrnkiZmpAgu3cKusdyFzlX/MkdzEYMZcmNGzymAZ+X/xNeeN4n62sBVOMNWSXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIDHf8qpPve8Pl6mM/+YCpMujVflgeO0voZBo9ztQZC+WAh9zV0+tlUFshNT0YA7JsjeRMrgXq9DgyyI98fMlfBxr"}]},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"3.3.0":{"name":"multi-profile","version":"3.3.0","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@3.3.0","dist":{"shasum":"3e148d187472a61f34b7a4fc7896958e878ece4a","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-3.3.0.tgz","integrity":"sha512-DuyPH8jwnuMueOZYdFqGPJwUA9zh5di1ZGa49ORxH5snlWwSDJOQIY/0yhNZytAGbVWuxgNhBrs0fnsUfMx9gA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcVJUDVVfb3/Gyw9XQPxbAXMRU9kMD61r8B/JtlJLfEAiEA9fHkFiVU4JCZk6u3BEJBHOBfKYs4o1A/4BgQZZFnHI0="}]},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"3.3.1":{"name":"multi-profile","version":"3.3.1","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","code-this":"~0.1.3","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@3.3.1","dist":{"shasum":"13d6964a3ac15d4c8d1332edc6c70004b3b5c8fe","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-3.3.1.tgz","integrity":"sha512-sMTeR1KqZJMaJVprXUDi+t3D7EMA/DqliGXzt+4ecj/hSuBT3V4w2NrwmjpahLoMY2QGLg+3ywhTy6g1wI1xOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0UcQrryVbp4cFAaDa9LdQ9vPUKKXH1DGeUD4WqhQbKwIgIGyI/USLo6zEGV4KUwVMTXy6QwMD4vbxal3rBfQEolM="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"3.3.2":{"name":"multi-profile","version":"3.3.2","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@3.3.2","dist":{"shasum":"a1c56fde56c0ad4060b64279e25a489460972d24","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-3.3.2.tgz","integrity":"sha512-2IBIjaHHtfQJmzZzUm2ae7WgyXZSguwhrcGM888Hutt4uVxb9PfgcM/RoFWABhT8U2xqEVtYckh3mLXuur0A2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnCU4ypxplfStCfISZIvDU4tLIu0RNeyt7RrpSkpEHXAiEAlqPvjgHBBW9IbvfSTKofJao2zoo6THdI8ZXdYEb0rR0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"4.0.0":{"name":"multi-profile","version":"4.0.0","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@4.0.0","dist":{"shasum":"8d3779d905fb23de38476d251a56b3a90140a245","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-4.0.0.tgz","integrity":"sha512-7jEdWYREutsJ7m+KAsoXu9IdpBa13aDQXlur0ySQYQvT5Ru5IcbzsiGaflocIzKqpsA2SFQpuNNG25LiU/QoPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvQDVjLxTxjbPYkrOa/+2Hz45GMM4aiuDI3w+2DVifpAiEA4Os/hYzwyr1q0kIHjrlYqrZ/ORNu3JRAE6kC8LWUxn8="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"4.0.1":{"name":"multi-profile","version":"4.0.1","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"node test/profile.js"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1","test-fixture":"~1.0.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@4.0.1","dist":{"shasum":"12bf6678b22a4d0ccdccbf6c4ef3d90264b9c930","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-4.0.1.tgz","integrity":"sha512-9APcgyfCMRiTB3jr5rXYdZUgzvYdJk32FLRWYjU4V8EdNxvysWxkdGYs+EzNhcXUSEC/ULiE0kPnmDNdFAMmig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTVg+E8j1GX2HRIyMri1yLM5vXW4ST894PDUdffrtxFQIhAK2y20A8BZDv8+PFPTWH9mu7e+aj4RN5SUl/xI5n49vz"}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"5.0.0":{"name":"multi-profile","version":"5.0.0","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"node test/profile.js"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","ini":"^1.2.1","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1","test-fixture":"~1.0.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@5.0.0","_shasum":"900dcb70d81a39f376679f6e6c4f19db2696d9c2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"900dcb70d81a39f376679f6e6c4f19db2696d9c2","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-5.0.0.tgz","integrity":"sha512-vZRf5TN5yf8SfrY9Tz3leyLI5OOWm2dURNxb2eQZmiJQ1r+IQtUUxKsi7G3A21U8uj9fKqAw+TRKQQ0HtE6MvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHwAiwryYtvj9PCRhpMhg1XvWLylo9zWZD2OUZHIGbCeAiB+pTlZ1UKCyOz/nq91fEm7lRHS3o65zQjacJJXC+wjMw=="}]}},"5.1.0":{"name":"multi-profile","version":"5.1.0","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"node test/profile.js"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","ini":"^1.2.1","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1","test-fixture":"~1.0.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@5.1.0","_shasum":"cde9ace2654d8ab8f7aea944e4112802d1bdead5","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"cde9ace2654d8ab8f7aea944e4112802d1bdead5","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-5.1.0.tgz","integrity":"sha512-y7ucPTh5XcuuiJoAHCpZPx14tCu+aKeDEWxFdV787FmMLlSINY2uFxzR0tFoIoP1B4tk1eJNXZhkeR/Lp683Ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvfBaPtYdKWfFUAOp84oEIbdH8CiWD0rwcevP5hAxqYAIhAJFLKON/6m5H0EcrVTxEBeQTAtjgw538W/iUtPKJWH3K"}]}},"5.1.1":{"name":"multi-profile","version":"5.1.1","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"node test/profile.js"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","ini":"^1.2.1","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1","test-fixture":"~1.0.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@5.1.1","_shasum":"76e70acc9f9f9096a3dee8e8c8edff8d49e34700","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"76e70acc9f9f9096a3dee8e8c8edff8d49e34700","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-5.1.1.tgz","integrity":"sha512-RRD7lbOrGDxTTdo6v4HsAibN30bfn3oPwpOO+TcEbDuUILW3mZC8jwJ1sfKx0TpeQ7xF8BvE5g8dL6mOWGRsoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExqVMiuFbmE/7ssisMhwgqK4ECWzK9kbMph5C4i+5xMAiB2ZHeOVTVrY4QdRyBds7ESPuzZSmhmshTnR2TNz7VQdw=="}]}},"5.1.2":{"name":"multi-profile","version":"5.1.2","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"node test/profile.js"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","ini":"^1.2.1","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1","test-fixture":"~1.0.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@5.1.2","_shasum":"f07001bdde5b75d6b86ba251cb785fe576c45c4a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"f07001bdde5b75d6b86ba251cb785fe576c45c4a","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-5.1.2.tgz","integrity":"sha512-vZnbBA5CVNifhSAgQxp4mSYYmoruQnHMNsll8/cqia37KYuAgL48PzWoO0UdEQprLGZN8yVB0Dj5AIST6B8q2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj108uz26EE7oepKxOa2GutWPfeA4hQOU+1GvaaMjjHQIgGJequ//8Dk5SZRU3qXez1kM5wZB1ZZ+Ntj5MzJqJjHk="}]}},"5.1.3":{"name":"multi-profile","version":"5.1.3","description":"Multi-profile is a module to manage global configurations for multiple profiles.","main":"index.js","scripts":{"test":"node test/profile.js"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"license":"MIT","dependencies":{"fs-sync":"~0.2.1","ini":"^1.2.1","trait":"~0.1.2"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.1","test-fixture":"~1.0.1"},"bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"homepage":"https://github.com/kaelzhang/multi-profile","_id":"multi-profile@5.1.3","_shasum":"535e57bc6983afd17cadc11b159cd38c1b370e43","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"535e57bc6983afd17cadc11b159cd38c1b370e43","tarball":"https://registry.npmjs.org/multi-profile/-/multi-profile-5.1.3.tgz","integrity":"sha512-wcxLMXg/keMpagWnY4EPZCTa3SbileRGWs4/flSVB3+iDs7dRZZpcUWVQ1i4fQT7NbqFfLZT6ChJRJbcOJUrdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlwKIcmgPUMQGGCMdKKeFibjb7YYr3De85BS862dUQmAIhAMyczZyZ/4UwW8sToF9MbHi28FZ0wpm19f9KAZpwN03t"}]}}},"readme":"# multi-profile [![NPM version](https://badge.fury.io/js/multi-profile.png)](http://badge.fury.io/js/multi-profile) [![Build Status](https://travis-ci.org/kaelzhang/node-multi-profile.png?branch=master)](https://travis-ci.org/kaelzhang/node-multi-profile) [![Dependency Status](https://gemnasium.com/kaelzhang/node-multi-profile.png)](https://gemnasium.com/kaelzhang/node-multi-profile)\n\nMulti-profile is a module to manage global configurations for multiple profiles.\n\n## Installation\n\n```sh\nnpm install multi-profile --save\n```\n\n## Usage\n\n```js\nvar profile = require('multi-profile');\nvar data = {};\nvar p = profile({\n  path: '~/.cortex',\n  context: data,\n  schema: {\n    port: {\n      value: 8888,\n      type: {\n        validator: function(v, key, attr) {\n          if (v <= 9000) {\n            attr.error('`port` must greater than 9000');\n          }\n          // If you've already called `attr.error`, it will be considered a failure,\n          // which means it's not necessary to return a value\n          return v > 9000;\n        },\n        setter: function(v, key, attr) {\n          // `this` <=> `data`\n          // The return value will set to the multi-profile instance.\n          // And in the same time, we set `port` to `data`\n          return this.port = v;\n        },\n        getter: function(v, key, attr) {\n          return this.port || v;\n        }\n      }\n    },\n\n    rcfile: {\n      value: '~/.bashrc'\n    }\n  }\n});\n\n// .init() method must be called before any invocations of other methods.\np.init();\n```\n\n## profile\n\n## Instance Methods\n\n### .add(name)\n\nAdd a profile\n\n### .all()\n\nGet all profile names\n\n### .current()\n\nGet the name of the current profile\n\n### .switchTo(name)\n\nSwitch to a profile\n\n### .del(name)\n\nDelete a profile by name\n\n### .set(key, value)\n\nSet a configuration. If key is not in the `schema`, nothing will be done.\n\n### .set(key_value_map)\n\nSet a bunch of configurations\n\n### .get()\n\nGet all configurations of the curent profile\n\n### .get(key)\n\nGet the configuration of the current profile by key\n\n### .getConfigFile()\n\nReturns `path` the path of the configuration file.\n\n### .save(data)\n\nSave `data` to the configuration.\n\nIf `data` is not specified, all writable key-values will be saved.\n\n## Static Methods\n\n### profile.resolveHomePath(path)\n\nResolve `'~/'` to the absolute home path of the curernt user.\n\n\n\n","maintainers":[{"name":"kael","email":"i@kael.me"}],"time":{"modified":"2022-06-20T13:24:18.037Z","created":"2013-07-27T08:44:15.906Z","0.0.3":"2013-07-27T08:44:21.350Z","0.1.4":"2013-08-05T02:28:43.877Z","0.1.5":"2013-08-06T06:26:40.923Z","0.1.7":"2013-08-09T10:09:54.769Z","0.1.8":"2013-09-05T06:43:52.887Z","0.1.10":"2013-09-10T16:08:24.493Z","0.1.11":"2013-09-11T06:36:24.891Z","1.0.2":"2013-10-23T13:15:17.837Z","2.0.1":"2013-10-23T15:15:07.912Z","2.1.1":"2013-10-23T16:20:07.161Z","3.1.1":"2013-10-23T16:53:59.266Z","3.2.0":"2014-02-21T09:30:48.265Z","3.3.0":"2014-04-10T14:28:31.139Z","3.3.1":"2014-04-16T08:42:27.643Z","3.3.2":"2014-04-16T10:48:22.334Z","4.0.0":"2014-06-16T13:06:45.230Z","4.0.1":"2014-06-16T13:41:56.618Z","5.0.0":"2014-07-23T07:17:05.954Z","5.1.0":"2014-07-23T08:50:56.309Z","5.1.1":"2014-07-23T08:57:34.542Z","5.1.2":"2014-07-23T09:24:26.673Z","5.1.3":"2014-07-24T02:43:18.329Z"},"repository":{"type":"git","url":"git://github.com/kaelzhang/multi-profile.git"},"author":{"name":"Kael"},"readmeFilename":"README.md","homepage":"https://github.com/kaelzhang/multi-profile","bugs":{"url":"https://github.com/kaelzhang/multi-profile/issues"},"license":"MIT"}