4
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

mp3とかのid3タグを編集するエディタ

Posted at

mp3のタグを編集するツールを探していたけどなかったので作りました。
メモリをどかぐいするかもしれません

URL

使ったライブラリ

本ツールの最大の貢献者たち
JavaScript-ID3-Reader
browser-id3-writer
handsontable
jszip
FileSaver.js

ライセンス

JavaScript-ID3-Readerのライセンスがなんのライセンスかわからないのでここに記載します。ちなみに本アプリケーション自体のライセンスはMITみたいなものです。

Copyright (c) 2008 Jacob Seidelin, http://blog.nihilogic.dk/ BSD License

Copyright (c) 2009 Opera Software ASA BSD License

Copyright (c) 2010 António Afonso BSD License

Copyright (c) 2010 Joshua Kifer BSD License

何かあった時のビルドコマンド

browserify src > dist.js

おまけ

これの開発するにあたってこちらのライブラリを試していたのですが、browserifyできずにwebpackを使い、構成がかなり面倒だったので供養しておきます。

package.json
{
  "name": "id3",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "build": "webpack",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "id3js": "^2.1.1"
  },
  "devDependencies": {
    "@babel/core": "^7.7.7",
    "@babel/preset-env": "^7.7.7",
    "babel-loader": "^8.0.6",
    "babel-preset-es2015": "^6.24.1",
    "babelify": "^10.0.0",
    "fs": "0.0.1-security",
    "webpack": "^4.41.5",
    "webpack-cli": "^3.3.10"
  }
}
babel.config.js

module.exports = {
  entry: './src.js',
  output: {
    path: __dirname,
    filename: 'dist.js'
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        loader: "babel-loader",
        options: {
          presets: [[
            "@babel/preset-env",
            {
              "useBuiltIns": "entry"
            }
          ]]
        }
      }
    ]
  },
  node: { //Module not found: Error: Can't resolve 'fs' in 'C:~
    fs: "empty"
  }
};

ああ、変数考えるの面倒くさい。西尾維新でもいればいいのに。
気が向いたらプルリクください。

4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?