Our first step of the new Authors Portal is Live! Learn more or click here to check it out!
Not quite the same, but similar: https://minecraft.curseforge.com/projects/grue
Its a little more intricate than just darkness kills you, but instead being in darkness too long can spawn a mob that kills you. Its very configurable too.
Reminds me of this mod: https://minecraft.curseforge.com/projects/pet-buddy-mod