In a skillet, melt butter and cook onion over medium heat. Stir in red pepper flakes. Stir in grated squash and toss to coat. Pour in chicken stock and cook, stirring occasionally, For 7 to 10 minutes. Toss in parsley and salt. Serve warm.