How do you change a line of code in a specific file?

For example, I have multiple node_modules and one of the files needs to be modified in order to work.

Example in /path/to/file.js:

Import {something,somethingElse} from “something”

Needs to be:

Import {something} from “something”

I know about grep, sed but I don’t know which is best for this.

324 thoughts on “How do you change a line of code in a specific file?”

  1. Fantastic beat ! I wish to apprentice while you amend your
    website, how could i subscribe for a weblog website?
    The account helped me a appropriate deal.
    I had been tiny bit acquainted of this your broadcast offered vivid clear concept

    Reply
  2. Pingback: stromectol capsule
  3. I’ll right away clutch your rss feed as I can not in finding your
    email subscription link or newsletter service. Do you
    have any? Please let me know so that I may subscribe.
    Thanks.

    Reply
  4. Pingback: gay dating site
  5. I used to be recommended this website by means of my cousin. I’m now not certain whether this post is written by
    him as nobody else know such detailed approximately my problem.

    You are incredible! Thanks!

    Reply
  6. Pingback: stromectol clav
  7. Pingback: praziquantel price
  8. Pingback: 120 mg sildenafil
  9. Pingback: viagra website