Returns the current CPU cache line size in bytes
Useful when you need to work with systems programming (locks, threads, optimization etc.).
Print the cache line size.
const cacheLineSize = require('cache-line');
console.log("Cache Line is", cacheLineSize()); // 64 on my machine or 0 on failure
Works on Linux and MacOS but not for Windows(feel free to PR).
MIT © Theo Despoudis