When I was not using Angular 4, I would just put the script tags for the library. Even when I put the script tags in the index.html fi
script
index.html
Documentation is at https://cryptojs.gitbook.io/docs/ The import for Angular 6 should be the following:
import * as cryptoJS from 'crypto-js';