remove GNU-specific usage for `sed` in shell example

This ensures that the shell example works with GNU and non-GNU `sed`.
convert to TypeScript
convert blpapi wrapper to TypeScript