unwrap-dir
unwrap-dir removes top-level wrapping directories.
install
$ npm install unwrap-dir
example
It’s often the case that you extract an archive and find its contents wrapped in a single directory. unwrap-dir can be used to rectify this annoyance.
some-folder└─┬ wrapping-folder ├── one ├── two └── three
var unwrap =
some-folder├── one├── two└── three